mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
26 lines
198 B
C
26 lines
198 B
C
|
|
int cond();
|
|
int f(int x);
|
|
|
|
void test(int p)
|
|
{
|
|
int a = 10;
|
|
int b = 20;
|
|
int c = 30;
|
|
|
|
a = a + 1;
|
|
a = 40;
|
|
a++;
|
|
++a;
|
|
a = f(a);
|
|
a;
|
|
|
|
if (cond()) {
|
|
b = 50;
|
|
} else {
|
|
b = 60;
|
|
}
|
|
c = b;
|
|
c;
|
|
}
|