]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/template/static30.C
PR c++/88757 - qualified name treated wrongly as type.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / template / static30.C
CommitLineData
62116ec3 1// PR c++/31992
2
3template <int> struct A
4{
5 static const int i1;
6 static const int i2;
7};
8
dffbcba8 9template <int N> const int A<N>::i1(A<N>::i);
08f3e2d6 10template <int N> const int A<N>::i2(3, A<N>::i); // { dg-error "expression list" }