Hans Wennborg | c9bd88e | 2014-01-14 19:35:09 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -fno-standalone-debug -triple %itanium_abi_triple -g %s -o - | FileCheck %s |
Devang Patel | fa59ac3 | 2011-10-28 21:12:13 +0000 | [diff] [blame] | 2 | |
| 3 | // Check that this pointer type is TC<int> |
Manman Ren | c174ea9 | 2013-10-05 01:43:22 +0000 | [diff] [blame] | 4 | // CHECK: ![[LINE:[0-9]+]] = {{.*}}"TC<int>", {{.*}} metadata !"_ZTS2TCIiE"} ; [ DW_TAG_class_type ] |
| 5 | // CHECK: metadata !"_ZTS2TCIiE"} ; [ DW_TAG_pointer_type ]{{.*}}[from _ZTS2TCIiE] |
Devang Patel | fa59ac3 | 2011-10-28 21:12:13 +0000 | [diff] [blame] | 6 | |
| 7 | template<typename T> |
| 8 | class TC { |
| 9 | public: |
| 10 | TC(const TC &) {} |
| 11 | TC() {} |
| 12 | }; |
| 13 | |
| 14 | TC<int> tci; |