db/fixup_kernel.sh: fix clear_user() handling
[smatch.git] / validation / infinite-loop04.c
blob77865095f3a5ed86161559dd5f0b47518da9e6a3
1 extern void use(char);
3 static void foo(char *b)
5 while (b) {
6 if (b++)
7 continue;
8 ++b;
9 use(*b);
10 &b;
15 * check-name: internal infinite loop (4)
16 * check-command: sparse $file
17 * check-timeout: