error22.C: Fix typo.

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

From-SVN: r114949
This commit is contained in:
Lee Millward 2006-06-23 19:37:58 +00:00 committed by Lee Millward
parent 0b9cb8c266
commit ad0178f8cc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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>
PR c++/28112

View File

@ -4,6 +4,6 @@ struct A
{
template<void (A::*)()> struct B {};
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" }
};