2 /* { dg-do compile } */
4 struct a {float x, y; };
8 /* The error messages here are different between C and C++, so just
9 make sure we get an error. */
10 float x = __real b; /* { dg-error "" } */
11 float y = __imag b; /* { dg-error "" } */
16 float x = __imag b; /* { dg-error "wrong type argument" } */
17 float y = __real b; /* { dg-error "wrong type argument" } */