Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr104675-1.c
blobaf0b4390c30b5d57a5563a4792478c5fdf08c043
1 /* PR tree-optimization/104675 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 _Complex int
6 foo (_Complex int a)
8 return (-1 + -1i) - a;
11 _Complex int
12 bar (_Complex int a)
14 return -a - (1 + 1i);
17 _Complex int
18 baz (_Complex int a)
20 _Complex int b = -1 + -1i;
21 return b - a;
24 _Complex int
25 qux (_Complex int a)
27 _Complex int b = 1 + 1i;
28 return -a - b;