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