]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenCXX/debug-info-template-limit.cpp
Vendor import of clang 3.9.0 release r280324:
[FreeBSD/FreeBSD.git] / test / CodeGenCXX / debug-info-template-limit.cpp
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple %itanium_abi_triple %s -o - | FileCheck %s
2
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
7 template<typename T>
8 class TC {
9 public:
10   TC(const TC &) {}
11   TC() {}
12 };
13
14 TC<int> tci;