1 // Test if a local definition is in a linkonce/comdat section.
3 // { dg-final { scan-assembler "_ZTIP9CTemplateIhE\[: \t\n\]" } }
4 // { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_ZTIP9CTemplateIhE" } }
5 // { dg-final { scan-assembler-not ".section\[^\n\r\]*_ZTIP9CTemplateIhE\[^\n\r\]*" } }
16 explicit type_info(const char *__n): __name(__n) { }
19 const char* name() const
34 const CTemplate<unsigned char> *m_variable; typedef CTemplate<unsigned char> m_variable_type;
37 CSecondModule::CSecondModule()
39 typeid(const_cast<m_variable_type *>(m_variable)).name() != 0;