clang-1/test/CodeGenCXX/debug-info-template-limit.cpp

15 строки
322 B
C++

// RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s
// Check that this pointer type is TC<int>
// CHECK: ![[LINE:[0-9]+]]} ; [ DW_TAG_pointer_type ]{{.*}}[from TC<int>]
// CHECK-NEXT: ![[LINE]] ={{.*}}"TC<int>"
template<typename T>
class TC {
public:
TC(const TC &) {}
TC() {}
};
TC<int> tci;