summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20030910-1.c
blob: 9fad109208cf9e6bb091990d2e0da338dc4c2088 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* The gimplifier was getting confused when taking the real or
   imaginary component of a complex rvalue.  */

void test()
{
  __complex double dc;
  double d;

  d = __real (dc * dc);
}