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

template <class Q>
class A {
public:
 
        typedef enum { X, Y } B;
        template <B c> class Traits{ };
};


template class A<int>;
template class A<double>::Traits<A<double>::X>;