summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/const1.C
blob: 6c6182284ea31627cca811b82142d4843e37e00a (plain)
1
2
3
4
// { dg-do assemble  }
template <class T> struct B { static const int i = 3; };
template <class T> struct A { static const int i = B<T>::i; };
enum { i = A<int>::i };