diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-25 17:22:37 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-25 17:22:37 +0000 |
commit | 24eab01c024d6cd6d4b4b64de6fb36dd17b8eab3 (patch) | |
tree | ef97704b1f9787d836c379b89c6c505d27549ff7 /gcc/testsuite | |
parent | 8a4008da487103462b7e1aae7c4545dc588eb410 (diff) | |
download | gcc-24eab01c024d6cd6d4b4b64de6fb36dd17b8eab3.tar.gz |
* g++.dg/other/error2.C: Tweak expected errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69796 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/other/error2.C | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 534bd6be9f2..1ee8ffb413b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -3,6 +3,7 @@ PR c++/11617 * g++.dg/template/lookup2.C: New test. * g++.dg/template/memclass1.C: Remove instantiated from error. + * g++.dg/other/error2.C: Tweak expected errors. PR c++/11596 * g++.dg/template/defarg3.C: New test. diff --git a/gcc/testsuite/g++.dg/other/error2.C b/gcc/testsuite/g++.dg/other/error2.C index 344be234f3b..391115ddc6d 100644 --- a/gcc/testsuite/g++.dg/other/error2.C +++ b/gcc/testsuite/g++.dg/other/error2.C @@ -10,5 +10,5 @@ namespace N class B { friend void operator>>(int, class B); }; class N { friend void operator>>(int,class N); }; } -void N::operator>>(int, N::B) // { dg-error "`B' is not a member of `class N::N'|non-function|primary-expression" "" } +void N::operator>>(int, N::B) // { dg-error "`B' is not a member of|non-function|primary-expression" "" } { } // { dg-error "" "" } |