PR c++/26266
* g++.dg/template/static22.C: New test.
* g++.dg/template/static23.C: New test.
* g++.dg/template/static24.C: New test.
* g++.dg/template/non-dependent13.C: New test.
* g++.dg/init/member1.C: Tweak error markers.
From-SVN: r111230
* g++.dg/template/static23.C: New test.
* g++.dg/template/static24.C: New test.
* g++.dg/template/non-dependent13.C: New test.
+ * g++.dg/init/member1.C: Tweak error markers.
2006-02-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
template<typename T> struct C
{
static const int i = A<T>::i; // { dg-error "incomplete" }
- static const int j = i; // { dg-error "constant" }
+ static const int j = i;
B<j> b; // { dg-error "not a valid template arg" }
};