blob: c3e241ecc8067a7b5dd0e9a84676024f6f427883 [file] [log] [blame]
Devang Patelef8857d2011-10-28 21:12:13 +00001// RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s
2
3// Check that this pointer type is TC<int>
Manman Ren865750e2013-10-01 23:46:19 +00004// CHECK: ![[LINE:[0-9]+]] = {{.*}}"TC<int>", {{.*}} metadata !"_ZTS2TCIiE"} ; [ DW_TAG_class_type ]
5// CHECK: metadata !"_ZTS2TCIiE"} ; [ DW_TAG_pointer_type ]{{.*}}[from _ZTS2TCIiE]
Devang Patelef8857d2011-10-28 21:12:13 +00006
7template<typename T>
8class TC {
9public:
10 TC(const TC &) {}
11 TC() {}
12};
13
14TC<int> tci;