CPP: Better location for the StackVariableReachability test.

This commit is contained in:
Geoffrey White
2020-01-23 17:32:07 +00:00
parent b693ef51e2
commit 795afa8160
5 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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;
}