2013-05-06 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / builtin-complex-err-2.c
blobc285b2a0aa31cba49416395568ec14cd0eb0e751
1 /* Test __builtin_complex errors. Verify it does nto 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" } */