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