Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-convnotconv-1.c
blobdecfbc71e314d201d68f345dbc5ced35e118ea63
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-original" } */
4 int test1(int a)
6 return ~(unsigned int)a;
9 unsigned int test2(unsigned int b)
11 return ~(int)b;
14 /* { dg-final { scan-tree-dump-times "~a" 1 "original" } } */
15 /* { dg-final { scan-tree-dump-times "~b" 1 "original" } } */