diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/_Pragma4.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/_Pragma4.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/_Pragma4.c b/gcc/testsuite/gcc.dg/cpp/_Pragma4.c new file mode 100644 index 000000000..f6f43d6b2 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/_Pragma4.c @@ -0,0 +1,8 @@ +/* { dg-do preprocess } */ + +/* Based on Debian GNATS PR 157416. 3 Sep 2002. */ + +#define b foo _Pragma ("bar") baz +a b c + +/* { dg-final { scan-file "_Pragma4.i" "(^|\\n)#pragma bar($|\\n)" } } */ |