[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / CodeGenCXX / 2009-06-16-DebugInfoCrash.cpp
blob870e15ca5f2a0012b159b061c3a0b7451e9b3474
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -debug-info-kind=limited
2 // This crashes if we try to emit debug info for TEMPLATE_DECL members.
3 template <class T> class K2PtrVectorBase {};
4 template <class T> class K2Vector {};
5 template <class U > class K2Vector<U*> : public K2PtrVectorBase<U*> {};
6 class ScriptInfoManager {
7 void PostRegister() ;
8 template <class SI> short ReplaceExistingElement(K2Vector<SI*>& v);
9 };
10 void ScriptInfoManager::PostRegister() {}