blob: 5c4ac0cc3e153268201daad72da2a8f10e242145 [file] [log] [blame]
Douglas Katzman3459ce22015-10-08 04:24:12 +00001// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple %itanium_abi_triple %s -o - | FileCheck %s
Devang Patelfa59ac32011-10-28 21:12:13 +00002
3// Check that this pointer type is TC<int>
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +00004// CHECK: ![[LINE:[0-9]+]] = !DICompositeType(tag: DW_TAG_class_type, name: "TC<int>"{{.*}}, identifier: "_ZTS2TCIiE")
5// CHECK: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !"_ZTS2TCIiE"
Devang Patelfa59ac32011-10-28 21:12:13 +00006
7template<typename T>
8class TC {
9public:
10 TC(const TC &) {}
11 TC() {}
12};
13
14TC<int> tci;