diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/19990228-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/19990228-1.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/19990228-1.c b/gcc/testsuite/gcc.dg/cpp/19990228-1.c new file mode 100644 index 000000000..acae1169a --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/19990228-1.c @@ -0,0 +1,21 @@ +/* Regression test for cpp. The following input may cause core dumps + or # line markers in the middle of the line. */ +/* { dg-do preprocess } */ + +#define foo(string, arg) bar(2, string, arg) + +foo ("\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +\ +", +NULL); + +/* { dg-final { scan-file-not 19990228-1.i "\[^\\n\]#" } } */ |