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" } */ 5 6 void f(void)7f (void) 8 { 9 __builtin_complex (0.0, 0.0); /* { dg-error "ISO C90 does not support complex types" } */ 10 } 11