1 #include "analyzer-decls.h"
3 /* "errno" declared as a global var. */
7 extern void external_fn (void);
9 int test_reading_errno (void)
14 void test_setting_errno (int val
)
19 void test_storing_to_errno (int val
)
21 __analyzer_eval (errno
== val
); /* { dg-warning "UNKNOWN" } */
23 __analyzer_eval (errno
== val
); /* { dg-warning "TRUE" } */
25 __analyzer_eval (errno
== val
); /* { dg-warning "UNKNOWN" } */