error22.C: Fix typo.
* g++.dg/template/error22.C: Fix typo. From-SVN: r114949
This commit is contained in:
parent
0b9cb8c266
commit
ad0178f8cc
|
@ -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
|
||||
|
|
|
@ -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" }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue