implied: use a time based timeout instead of counting ->nr_children
[smatch.git] / validation / sm_select4.c
blobaf7bbc86863cb00dc02521826ba174f550b76be9
1 #include "check_debug.h"
3 int frob();
5 int a, b, c;
6 void func(unsigned long x)
8 if (x >= 4)
9 return;
11 __smatch_value("x");
12 if ((!(a) ? -19 : (((b && c) ? frob() : -515))))
13 __smatch_value("x");
14 __smatch_value("x");
17 * check-name: Smatch Ternary #4
18 * check-command: smatch -I.. sm_select4.c
20 * check-output-start
21 sm_select4.c:11 func() x = 0-3
22 sm_select4.c:13 func() x = 0-3
23 sm_select4.c:14 func() x = 0-3
24 * check-output-end