summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/static30.C
blob: 01fa5dc1e0ee544b39f7d42344d5616f4db7148a (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/31992

template <int> struct A 
{
  static const int i1;
  static const int i2;
};

template <int N> const int A<N>::i1(A<N>::i);
template <int N> const int A<N>::i2(3, A<N>::i);