1 /* PR c++/35334 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu99" } */
4 /* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
5 
6 __complex__ unsigned int i;
7 int j;
8 char k;
9 __complex__ double l;
10 double m;
11 float n;
12 
13 void
foo()14 foo ()
15 {
16   ((__complex__ int)i)();		/* { dg-error "is not a function" } */
17   ((__complex__ int)j)();		/* { dg-error "is not a function" } */
18   ((__complex__ int)k)();		/* { dg-error "is not a function" } */
19   ((__complex__ long double)l)();	/* { dg-error "is not a function" } */
20   ((__complex__ long double)m)();	/* { dg-error "is not a function" } */
21   ((__complex__ long double)n)();	/* { dg-error "is not a function" } */
22 }
23