Commit ca3c62ec by Nathan Sidwell Committed by Nathan Sidwell

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

From-SVN: r69796
parent c7b62f14
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
PR c++/11617 PR c++/11617
* g++.dg/template/lookup2.C: New test. * g++.dg/template/lookup2.C: New test.
* g++.dg/template/memclass1.C: Remove instantiated from error. * g++.dg/template/memclass1.C: Remove instantiated from error.
* g++.dg/other/error2.C: Tweak expected errors.
PR c++/11596 PR c++/11596
* g++.dg/template/defarg3.C: New test. * g++.dg/template/defarg3.C: New test.
......
...@@ -10,5 +10,5 @@ namespace N ...@@ -10,5 +10,5 @@ namespace N
class B { friend void operator>>(int, class B); }; class B { friend void operator>>(int, class B); };
class N { friend void operator>>(int,class N); }; 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 "" "" } { } // { dg-error "" "" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment