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