gcc/testsuite/g++.old-deja/g++.brendan/template27.C
raw| 1 | // { dg-do assemble } |
| 2 | // GROUPS passed templates |
| 3 | template<class K, class V> class MapLS { }; |
| 4 | class String {}; |
| 5 | class X1 { }; |
| 6 | class RefProto { }; |
| 7 | template<class REP> class Ref { }; |
| 8 | |
| 9 | template <> |
| 10 | class MapLS<String, Ref<X1> >: public MapLS<String, RefProto> { |
| 11 | public: |
| 12 | ~MapLS(); |
| 13 | }; |
| 14 | |
| 15 | MapLS<String, Ref<X1> >::~MapLS() { } |