* g++.dg/other/error2.C: Tweak expected errors.

From-SVN: r69796
This commit is contained in:
Nathan Sidwell 2003-07-25 17:22:37 +00:00 committed by Nathan Sidwell
parent c7b62f1472
commit ca3c62ecf1
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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 "" "" }