1 #include "analyzer-decls.h"
3 extern void escape (int *p
);
6 void test (int *p
, int x
)
14 __analyzer_eval (a
== 17); /* { dg-warning "TRUE" } */
15 __analyzer_eval (x
== 42); /* { dg-warning "TRUE" } */
16 __analyzer_eval (y
== 13); /* { dg-warning "TRUE" } */
19 __analyzer_eval (a
== 17); /* { dg-warning "UNKNOWN" } */
20 __analyzer_eval (x
== 42); /* { dg-warning "UNKNOWN" } */
21 __analyzer_eval (y
== 13); /* { dg-warning "TRUE" } */
23 __analyzer_eval (p
== &a
); /* { dg-warning "UNKNOWN" } */
24 __analyzer_eval (p
== &x
); /* { dg-warning "FALSE" } */
25 __analyzer_eval (p
== &y
); /* { dg-warning "FALSE" } */
29 __analyzer_eval (a
== 17); /* { dg-warning "UNKNOWN" } */
30 __analyzer_eval (x
== 42); /* { dg-warning "UNKNOWN" } */
31 __analyzer_eval (y
== 13); /* { dg-warning "TRUE" } */