smatch.h: reserve some db types for later
[smatch.git] / validation / sm_impossible2.c
blob051562db4f3804195aa2d312583dac96b823193a
1 #include "check_debug.h"
3 int one(void)
5 return 1;
9 int main(unsigned int x, unsigned int y)
11 if (one())
12 __smatch_states("register_impossible_return");
13 else
14 __smatch_states("register_impossible_return");
18 * check-name: smatch impossible #2
19 * check-command: smatch -I.. sm_impossible2.c
21 * check-output-start
22 sm_impossible2.c:12 main() [register_impossible_return] 'impossible' = 'undefined'
23 sm_impossible2.c:14 main() [register_impossible_return] 'impossible' = 'impossible'
24 * check-output-end