FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / _Pragma2.c
blob24c4457ede7ed5ec25a2ecc251574113c7b933b1
1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Don't allow directives in a _Pragma string. */
7 /* Contributed by Neil Booth 14 Nov 2000. */
9 _Pragma("#define test")
11 #ifdef test
12 #error Do not allow directives in _Pragma strings
13 #endif