brintos

brintos / llvm-project-archived public Read only

0
0
Text · 437 B · 172ab94 Raw
15 lines · cpp
1// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple %itanium_abi_triple %s -o - | FileCheck %s2 3// Check that this pointer type is TC<int>4// CHECK: ![[LINE:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_class_type, name: "TC<int>"{{.*}}, identifier: "_ZTS2TCIiE")5// CHECK: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[LINE]]6 7template<typename T>8class TC {9public:10  TC(const TC &) {}11  TC() {}12};13 14TC<int> tci;15