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