blob: 181a00689599d46a6d3c885d2e2271c7e268267e [file] [log] [blame]
extern int bar (int);
extern int foo (int);
int foo (int x)
{
int y = 0;
while (y < 1000) {
y += bar(x);
}
return y;
}
/*
* check-name: Loops
* check-command: sparsec -c $file -o tmp.o
*/