PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / complex-4.c
blobfa2ad5816039558184d39edeaec59dc09dc7b7ea
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 int g(_Complex int*);
4 int f(void)
6 _Complex int t = 0;
7 int i, j;
8 __real__ t += 2;
9 __imag__ t += 2;
10 return g(&t);
13 /* { dg-final { scan-tree-dump-times "__complex__" 0 "optimized" { xfail *-*-* } } } */
14 /* { dg-final { cleanup-tree-dump "optimized" } } */