Commit ad0178f8 by Lee Millward Committed by Lee Millward

error22.C: Fix typo.

	* g++.dg/template/error22.C: Fix typo.

From-SVN: r114949
parent 0b9cb8c2
2006-06-23 Lee Millward <lee.millward@gmail.com>
* g++.dg/template/error22.C: Fix typo.
2006-06-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 2006-06-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/28112 PR c++/28112
...@@ -4,6 +4,6 @@ struct A ...@@ -4,6 +4,6 @@ struct A
{ {
template<void (A::*)()> struct B {}; template<void (A::*)()> struct B {};
void ::foo(); // { dg-error "invalid use" } void ::foo(); // { dg-error "invalid use" }
B<&A::foo> b; // { dg-errror "incomplete type|template argument" } B<&A::foo> b; // { dg-error "incomplete type|template argument" }
}; };
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