aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template27.C
blob: a2649d439e0857bde3555b721424eebf86538bca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link: 
// GROUPS passed templates
        template<class K, class V> class MapLS { };
        class String {};
        class X1 { };
        class RefProto { };
        template<class REP> class Ref { };
        
        class MapLS<String, Ref<X1> >: public MapLS<String, RefProto> {
        public:
            ~MapLS();
        };
        
        MapLS<String, Ref<X1> >::~MapLS() { }