Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple %itanium_abi_triple %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> |
Duncan P. N. Exon Smith | f9521b0 | 2016-04-17 07:45:08 +0000 | [diff] [blame] | 4 | // CHECK: ![[LINE:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_class_type, name: "TC<int>"{{.*}}, identifier: "_ZTS2TCIiE") |
Duncan P. N. Exon Smith | 383f841 | 2016-04-23 21:08:27 +0000 | [diff] [blame] | 5 | // CHECK: !DIDerivedType(tag: DW_TAG_pointer_type, baseType: ![[LINE]] |
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; |