blob: c285b2a0aa31cba49416395568ec14cd0eb0e751 [file] [log] [blame]
/* Test __builtin_complex errors. Verify it does nto allow quiet
creation of complex types in C90. */
/* { dg-do compile } */
/* { dg-options "-std=c90 -pedantic-errors" } */
void
f (void)
{
__builtin_complex (0.0, 0.0); /* { dg-error "ISO C90 does not support complex types" } */
}