diff options
author | Per Bothner <per@bothner.com> | 2005-03-11 22:57:15 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2005-03-11 22:57:15 -0800 |
commit | 9a2a5d3746ba0cfac6e7484c07876ed1167da3e4 (patch) | |
tree | e8749897e0ac0cb604c3075d2cdcd351d6de16af /gcc | |
parent | b68b68289b79f5aaa432ff03e5c4f978529fba18 (diff) | |
download | gcc-9a2a5d3746ba0cfac6e7484c07876ed1167da3e4.zip gcc-9a2a5d3746ba0cfac6e7484c07876ed1167da3e4.tar.gz gcc-9a2a5d3746ba0cfac6e7484c07876ed1167da3e4.tar.bz2 |
direct2.c: With new lexer changes...
* gcc.dg/cpp/direct2.c: With new lexer changes, error "before string
constant" is now actually on same line as string constant.
* gcc.dg/cpp/direct2s.c: Likewise.
From-SVN: r96331
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/direct2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/direct2s.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8e932ab..d1059a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-03-11 Per Bothner <per@bothner.com> + + * gcc.dg/cpp/direct2.c: With new lexer changes, error "before string + constant" is now actually on same line as string constant. + * gcc.dg/cpp/direct2s.c: Likewise. + 2005-03-11 Richard Sandiford <rsandifo@redhat.com> * gcc.target/mips/fix-vr4130-[1-4].c: New tests. diff --git a/gcc/testsuite/gcc.dg/cpp/direct2.c b/gcc/testsuite/gcc.dg/cpp/direct2.c index 51309e9..136a0e2 100644 --- a/gcc/testsuite/gcc.dg/cpp/direct2.c +++ b/gcc/testsuite/gcc.dg/cpp/direct2.c @@ -12,7 +12,7 @@ HASH include "somerandomfile" /*{ dg-error "stray" "non-include" }*/ /*{ dg-bogus "No such" "don't execute non-include" { target *-*-* } 13 }*/ -int resync_parser_1; /*{ dg-error "parse|syntax|expected" "" }*/ +int resync_parser_1; /*{ dg-error "parse|syntax|expected" "" { target *-*-* } 13 }*/ HASHINCLUDE <somerandomfile> /*{ dg-error "stray|expected" "non-include 2" }*/ /*{ dg-bogus "No such" "don't execute non-include 2" { target *-*-* } 17 }*/ diff --git a/gcc/testsuite/gcc.dg/cpp/direct2s.c b/gcc/testsuite/gcc.dg/cpp/direct2s.c index b2d00cf..b442280 100644 --- a/gcc/testsuite/gcc.dg/cpp/direct2s.c +++ b/gcc/testsuite/gcc.dg/cpp/direct2s.c @@ -14,7 +14,7 @@ HASH include "somerandomfile" /*{ dg-error "stray" "non-include" }*/ /*{ dg-bogus "No such" "don't execute non-include" { target *-*-* } 15 }*/ -int resync_parser_1; /*{ dg-error "parse|syntax|expected" "" }*/ +int resync_parser_1; /*{ dg-error "parse|syntax|expected" "" { target *-*-* } 15 }*/ HASHINCLUDE <somerandomfile> /*{ dg-error "stray|expected" "non-include 2" }*/ /*{ dg-bogus "No such" "don't execute non-include 2" { target *-*-* } 18 }*/ |