xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-limit.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -fno-standalone-debug -triple %itanium_abi_triple -g %s -o - | FileCheck %s
2f4a2713aSLionel Sambuc 
3f4a2713aSLionel Sambuc // Check that this pointer type is TC<int>
4*0a6a1f1dSLionel Sambuc // CHECK: ![[LINE:[0-9]+]] = !{!"0x2\00TC<int>\00{{.*}}", {{.*}} !"_ZTS2TCIiE"} ; [ DW_TAG_class_type ]
5*0a6a1f1dSLionel Sambuc // CHECK: !"_ZTS2TCIiE"} ; [ DW_TAG_pointer_type ]{{.*}}[from _ZTS2TCIiE]
6f4a2713aSLionel Sambuc 
7f4a2713aSLionel Sambuc template<typename T>
8f4a2713aSLionel Sambuc class TC {
9f4a2713aSLionel Sambuc public:
TC(const TC &)10f4a2713aSLionel Sambuc   TC(const TC &) {}
TC()11f4a2713aSLionel Sambuc   TC() {}
12f4a2713aSLionel Sambuc };
13f4a2713aSLionel Sambuc 
14f4a2713aSLionel Sambuc TC<int> tci;
15