@import templates_top; template class Vector; template class Vector; template class List; template<> class List { public: void push_back(int); }; namespace N { template class Set; } namespace N { template class Set { public: void insert(T); }; } constexpr unsigned List::*size_left = &List::size; List list_left = { 0, 8 }; typedef List ListInt_left; template void pendingInstantiationEmit(T) {} void triggerPendingInstantiation() { pendingInstantiationEmit(12); pendingInstantiationEmit(42.); } void redeclDefinitionEmit(){} typedef Outer::Inner OuterIntInner_left;