extra: fix returned_struct_members()
[smatch.git] / validation / sm_impossible3.c
blob40e9e48d62d1b4fa43ceb128681ef63a1f959b3b
1 #include "check_debug.h"
3 int frob(void);
5 int main(void)
7 int x;
9 x = frob();
11 if (x != -28)
12 return;
14 if (x != -28 && x != -30)
15 __smatch_implied(x);
16 __smatch_implied(x);
18 return 0;
22 * check-name: smatch impossible #3
23 * check-command: smatch -I.. sm_impossible3.c
25 * check-output-start
26 sm_impossible3.c:15 main() implied: x = ''
27 sm_impossible3.c:16 main() implied: x = '(-28)'
28 * check-output-end