Skip several analyzer socket tests on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / casts-2.c
blob3eef71726ba397c86eeef714b1ad95810537cf93
1 #include "analyzer-decls.h"
3 void test_1 (int i)
5 char c1 = i;
6 char c2 = i;
7 __analyzer_eval (c1 == i); /* { dg-warning "UNKNOWN" } */
8 __analyzer_eval (c1 == c2); /* { dg-warning "TRUE" } */
11 void test_2 (char c)
13 int i = c;
14 __analyzer_eval (i == c); /* { dg-warning "TRUE" } */