implied: use a time based timeout instead of counting ->nr_children
[smatch.git] / validation / sm_implied19.c
blobe65487bcfab2a1e5070f054cddc82d8f86313fde
1 #include "check_debug.h"
3 int xxx, yyy;
4 int aaa, bbb;
5 int id, vbus;
6 void frob(void)
8 if (xxx)
9 id = yyy;
10 else
11 id = 1;
13 if (aaa)
14 vbus = bbb;
15 else
16 vbus = id;
18 if (id)
20 if (!vbus)
23 if (!id)
24 __smatch_implied(vbus);
28 * check-name: smatch implied #19
29 * check-command: smatch -I.. sm_implied19.c
31 * check-output-start
32 sm_implied19.c:24 frob() implied: vbus = 's32min-s32max'
33 * check-output-end