// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -debug-info-kind=limited
// This crashes if we try to emit debug info for TEMPLATE_DECL members.
template<class T>classK2PtrVectorBase{};template<class T>classK2Vector{};template<class U >classK2Vector<U*>:publicK2PtrVectorBase<U*>{};classScriptInfoManager{voidPostRegister();template<class SI>shortReplaceExistingElement(K2Vector<SI*>&v);};voidScriptInfoManager::PostRegister(){}