1 #include "check_debug.h"
3 #define min_t(type, x, y) ({ \
6 __min1 < __min2 ? __min1: __min2; })
10 static int options_write(void)
17 a
= min_t(int, b
+ c
, d
);
18 __smatch_compare(a
, d
);
19 __smatch_compare(a
, b
+ c
);
21 __smatch_compare(a
, b
+ c
);
25 * check-name: smatch compare #12
26 * check-command: smatch -I.. sm_compare12.c
29 sm_compare12.c:18 options_write() a <= d
30 sm_compare12.c:19 options_write() a <= b + c
31 sm_compare12.c:21 options_write() a <none> b + c