Makefile: use quiet link to link smatch
[smatch.git] / validation / backend / int-cond.c
blob48b25a776f2e788a1128b3547acfe454304b8bb3
1 static long foo(long a, long b, long c)
3 return a? b:c;
6 static long foo_bool(_Bool a, long b, long c)
8 return a? b:c;
11 static long bar(long a, long b, long c)
13 if (a)
14 return b;
15 else
16 return b + c;
19 static long bar_bool(_Bool a, long b, long c)
21 if (a)
22 return b;
23 else
24 return b + c;
28 * check-name: Non-bool condition values in branch/select
29 * check-command: ./sparsec -c $file -o tmp.o