diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-19 17:56:37 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-19 17:56:37 +0000 |
commit | f81424362ed2c19415d5c09343737a8c799b47b7 (patch) | |
tree | 0d3a9e78065a6083c400be80b25fd4fd8e585a7f /gcc/testsuite/g++.dg/parse/error21.C | |
parent | 27fa90116c262fdd12ce9bcfd9eb7bd1c57b3180 (diff) | |
download | gcc-f81424362ed2c19415d5c09343737a8c799b47b7.tar.gz |
2008-09-18 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140490
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/parse/error21.C')
-rw-r--r-- | gcc/testsuite/g++.dg/parse/error21.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/parse/error21.C b/gcc/testsuite/g++.dg/parse/error21.C index f60bf2b9c54..469e5fb4e1c 100644 --- a/gcc/testsuite/g++.dg/parse/error21.C +++ b/gcc/testsuite/g++.dg/parse/error21.C @@ -7,6 +7,7 @@ void foo() { // Check that we do not complain about an unused // compiler-generated variable. - A& = a; // { dg-error "6: error: expected unqualified-id before '=' token|8: error: 'a' was not declared in this scope" } + A& = a; // { dg-error "6:expected unqualified-id before '=' token" "6" } + // { dg-error "8:'a' was not declared in this scope" "8" { target *-*-* } 10 } } |