blob: e1f23ada21eddd5226093ff71a004414e3d5032e [file] [log] [blame]
Hans Wennborgc9bd88e2014-01-14 19:35:09 +00001// RUN: %clang_cc1 -emit-llvm -fno-standalone-debug -triple %itanium_abi_triple -g %s -o - | FileCheck %s
Devang Patelfa59ac32011-10-28 21:12:13 +00002
3// Check that this pointer type is TC<int>
Manman Renc174ea92013-10-05 01:43:22 +00004// CHECK: ![[LINE:[0-9]+]] = {{.*}}"TC<int>", {{.*}} metadata !"_ZTS2TCIiE"} ; [ DW_TAG_class_type ]
5// CHECK: metadata !"_ZTS2TCIiE"} ; [ DW_TAG_pointer_type ]{{.*}}[from _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;