summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/enum10.C
blob: b5cf3f3ebd64e1720d21a6e22503fbe844a67d4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }

template <class T> 
struct S {
  enum E { a = (int) T::b };
};

struct S2 {
  enum E2 { b };
};

template class S<S2>;