diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/trad/escaped-eof.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/trad/escaped-eof.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/trad/escaped-eof.c b/gcc/testsuite/gcc.dg/cpp/trad/escaped-eof.c new file mode 100644 index 000000000..2c9c185b1 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/trad/escaped-eof.c @@ -0,0 +1,6 @@ +/* Test for warning of escaped EOF. */ + +/* { dg-do preprocess } */ + +/* { dg-warning "backslash-new" "escaped EOF warning" { target *-*-* } 6 } */ +\ |