1 @import templates_top; 2 3 template<typename T> class Vector { 4 public: 5 void push_back(const T&); 6 }; 7 8 template<typename T> class List; 9 template<> class List<bool> { 10 public: 11 void push_back(int); 12 }; 13 14 namespace N { 15 template<typename T> class Set { 16 public: 17 void insert(T); 18 }; 19 } 20 21 template <typename T> 22 void pendingInstantiationEmit(T) {} 23 void triggerPendingInstantiationToo() { 24 pendingInstantiationEmit(12); 25 } 26 27 void redeclDefinitionEmit(){} 28