Merged revisions 196716,196830,198094,198116,198502,198877,199007,199262,199319,19946...
[official-gcc.git] / main / gcc / testsuite / gcc.dg / builtin-complex-err-2.c
blobbe5ff65fdab9e21d5dcc412f0afdd0a9ecee9e0f
1 /* Test __builtin_complex errors. Verify it does not allow quiet
2 creation of complex types in C90. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c90 -pedantic-errors" } */
6 void
7 f (void)
9 __builtin_complex (0.0, 0.0); /* { dg-error "ISO C90 does not support complex types" } */