aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/template30.C
blob: 97357d63a801fbcf9c777a13cf4c2df08a93f610 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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() { }