| /* PR 28152: error messages should mention __complex__ */ | |
| /* { dg-do compile } */ | |
| /* { dg-options "" } */ | |
| int | |
| main (void) | |
| { | |
| __complex__ float z; | |
| z = __complex__ (1.90000007326203904e+19, 0.0); // { dg-error "expected primary-expression before '__complex__'" "primary-expression" } | |
| z = __complex__ (1.0e+0, 0.0) / z; // { dg-error "expected primary-expression before '__complex__'" "primaty-expression" } | |
| // { dg-error "37:at end of input" "end" { target *-*-* } .-1 } |