diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/trad/comment.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/trad/comment.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/trad/comment.c b/gcc/testsuite/gcc.dg/cpp/trad/comment.c new file mode 100644 index 000000000..971a78a6d --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/trad/comment.c @@ -0,0 +1,5 @@ +/* Test for warning of unterminated comment. */ + +/* { dg-do preprocess } */ + +/* { dg-error "unterminated comment" } |