summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-complex-3.c
blob: f1f7a1f874cc5ef1dd0a27818b1837e47f57f6cc (plain)
1
2
3
4
5
6
7
/* Test for _Imaginary: when imaginary types are not implemented, this
   is still a keyword and must give a syntax error if used rather than
   being treated as an identifier.  */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */

float _Imaginary; /* { dg-error "expected" } */