aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr97897.c
blob: 084c1cdbfebf4b3b3feca6b08dfc45e1130e9c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "" } */

void h ();
void f () __attribute__ ((returns_twice));
void g (_Complex int a)
{
  f ();
  if (a != 0)
  {
    a = 0;
    h ();
  }
}