diff options
author | Neil Booth <neil@gcc.gnu.org> | 2000-10-28 18:01:40 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-10-28 18:01:40 +0000 |
commit | 74f215d7e03e8d954412f872cf6f10ceeb8626f1 (patch) | |
tree | 8d48c96b0a801722146a2653cfbd2d9cf446bad2 /gcc/testsuite/gcc.dg/cpp/cxxcom2.c | |
parent | 93c80368d9a16c073f2b930bef4232661971765f (diff) | |
download | gcc-74f215d7e03e8d954412f872cf6f10ceeb8626f1.zip gcc-74f215d7e03e8d954412f872cf6f10ceeb8626f1.tar.gz gcc-74f215d7e03e8d954412f872cf6f10ceeb8626f1.tar.bz2 |
19960224-2.c, [...]: Update tests for new diagnostic messages.
* gcc.dg/cpp/19960224-2.c, 20000625-2.c, cxxcom2.c, directiv.c,
endif.c, if-4.c, if-5.c, if-mop.c, macsyntx.c, paste2.c, paste6.c,
paste8.c, redef2.c, strify2.c, strp1.c, tr-warn1.c, tr-warn3.c,
tr-warn6.c, undef1.c, undef2.c, widestr1.c: Update tests for
new diagnostic messages.
* gcc.dg/cpp/macro3.c: New tests.
From-SVN: r37099
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/cxxcom2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/cxxcom2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/cxxcom2.c b/gcc/testsuite/gcc.dg/cpp/cxxcom2.c index 7d0fe09..f0fb2d0 100644 --- a/gcc/testsuite/gcc.dg/cpp/cxxcom2.c +++ b/gcc/testsuite/gcc.dg/cpp/cxxcom2.c @@ -2,7 +2,7 @@ /* { dg-options "-pedantic -std=c89" } */ /* This is an extension and therefore gets a warning. */ -#line 5 "cxx-comments-2.c" 3 /* { dg-warning "garbage at end" "#line extension" } */ +#line 5 "cxx-comments-2.c" 3 /* { dg-warning "extra tokens" "#line extension" } */ /* A system header may contain C++ comments irrespective of mode. */ // C++ comment is not in C89 { dg-bogus "style comment" "bad warning" } |