2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / parser-pr28152-2.c
blobb1502257d0ac7568bc6b36e09a356732dcd88d35
1 /* PR 28152: error messages should mention __complex__ */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4 int
5 main (void)
7 __complex__ float z;
9 z = __complex__ (1.90000007326203904e+19, 0.0); /* { dg-error "__complex__" } */
10 z = __complex__ (1.0e+0, 0.0) / z; /* { dg-error "__complex__" "Complex" } */
11 /* { dg-error "at end of input" "end of input" { target *-*-* } 10 } */