blob: 7af877a83e95969f29ac3fa99fa9516501891f41 [file] [log] [blame]
static void foo(int *buf)
{
int a = 1;
int *b;
do {
if (a)
b = buf;
if (a)
*buf = 0;
} while (!(a = !a));
}
/*
* check-name: infinite loop 03
* check-command: sparse -Wno-decl $file
* check-timeout:
*/