struct_assignment: handle memcpy(foo, ...) where foo is not a struct
[smatch.git] / validation / sm_compare11.c
blob904b44f8bd2bd175b47166db71a8372e09c8cee1
1 #include "check_debug.h"
3 int a, b, c, d;
4 static int options_write(void)
6 a = d;
7 if (a > b + c)
8 a = b + c;
9 __smatch_compare(a, d);
13 * check-name: smatch compare #11
14 * check-command: smatch -I.. sm_compare11.c
16 * check-output-start
17 sm_compare11.c:9 options_write() a <= d
18 * check-output-end