implied: use a time based timeout instead of counting ->nr_children
[smatch.git] / validation / sm_loops5.c
blob0ed7171189513c8b3879d6adedb2e930e5abe014
1 #include "check_debug.h"
3 int frob(void);
5 int a, b, c;
6 void test(void)
8 a = 0;
9 do {
10 frob();
11 } while (a++ < 3);
12 __smatch_implied(a);
15 * check-name: smatch loops #5
16 * check-command: smatch -I.. sm_loops5.c
18 * check-output-start
19 sm_loops5.c:12 test() implied: a = '4'
20 * check-output-end