Devang Patel | ef8857d | 2011-10-28 21:12:13 +0000 | [diff] [blame] | 1 | // RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s |
2 | |||||
3 | // Check that this pointer type is TC<int> | ||||
Eric Christopher | dadbd47 | 2013-10-04 17:08:47 +0000 | [diff] [blame^] | 4 | // CHECK: ![[LINE:[0-9]+]] = {{.*}}"TC<int>" |
5 | // CHECK: ![[LINE]]} ; [ DW_TAG_pointer_type ]{{.*}}[from TC<int>] | ||||
Devang Patel | ef8857d | 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; |