re PR c++/21369 (Template function definition rejected if function return type begins with 'struct')

PR c++/21369
	* g++.dg/init/member1.C: Tweak error markers.

From-SVN: r105252
This commit is contained in:
Mark Mitchell 2005-10-11 20:53:55 +00:00 committed by Mark Mitchell
parent 4989673889
commit c0b16a7045
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-10-11 Mark Mitchell <mark@codesourcery.com>
PR c++/21369
* g++.dg/init/member1.C: Tweak error markers.
2005-10-11 Janis Johnson <janis187@us.ibm.com>
PR testsuite/24281

View File

@ -11,7 +11,7 @@ template<int> struct B {};
template<typename T> struct C
{
static const int i = A<T>::i; // { dg-error "incomplete" }
static const int j = i;
static const int j = i; // { dg-error "constant" }
B<j> b; // { dg-error "not a valid template arg" }
};