mirror of
https://github.com/github/codeql.git
synced 2026-04-19 14:04:09 +02:00
QL code and tests for C#/C++/JavaScript.
This commit is contained in:
9
cpp/ql/test/successor-tests/newexpr/newexpr/newexpr.cpp
Normal file
9
cpp/ql/test/successor-tests/newexpr/newexpr/newexpr.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
class C {
|
||||
public:
|
||||
C(int i, int j);
|
||||
};
|
||||
|
||||
void f() {
|
||||
int a, b, c, d;
|
||||
new C(a + b, c - d);
|
||||
}
|
||||
Reference in New Issue
Block a user