blob: 172ab94dce62455297bce2da82398a742cdf913e [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 Smithf9521b02016-04-17 07:45:08 +00004// CHECK: ![[LINE:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_class_type, name: "TC<int>"{{.*}}, identifier: "_ZTS2TCIiE")
Duncan P. N. Exon Smith383f8412016-04-23 21:08:27 +00005// CHECK: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[LINE]]
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;