expressions: make assign_expression() take an op argument
[smatch.git] / validation / infinite-loop03.c
blobac8a9519d0e1b9414a8fa3eafac16108fbff5e1c
1 static void foo(int *buf)
3 int a = 1;
4 int *b;
5 do {
6 if (a)
7 b = buf;
8 if (a)
9 *buf = 0;
10 } while (!(a = !a));
14 * check-name: infinite loop 03
15 * check-command: sparse -Wno-decl $file