param_cleared: handle direct assignments
[smatch.git] / validation / backend / loop.c
blob31054f52f8425cf7e5b716f1490a728dfd832b0f
2 extern int bar (int);
4 extern int foo (int);
6 int foo (int x)
8 int y = 0;
10 while (y < 1000) {
11 y += bar(x);
14 return y;
19 * check-name: Loops
20 * check-command: ./sparsec -c $file -o tmp.o