[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Templight / templight-one-instantiation.cpp
blobe865ef3a4ba942a6c9f850278f32ffb741476341
1 // RUN: %clang_cc1 -templight-dump %s 2>&1 | FileCheck %s
3 template <class T>
4 struct foo {};
6 // CHECK-LABEL: {{^---$}}
7 // CHECK: {{^name:[ ]+'foo<int>'$}}
8 // CHECK: {{^kind:[ ]+TemplateInstantiation$}}
9 // CHECK: {{^event:[ ]+Begin$}}
10 // CHECK: {{^orig:[ ]+'.*templight-one-instantiation.cpp:4:8'}}
11 // CHECK: {{^poi:[ ]+'.*templight-one-instantiation.cpp:18:10'$}}
12 // CHECK-LABEL: {{^---$}}
13 // CHECK: {{^name:[ ]+'foo<int>'$}}
14 // CHECK: {{^kind:[ ]+TemplateInstantiation$}}
15 // CHECK: {{^event:[ ]+End$}}
16 // CHECK: {{^orig:[ ]+'.*templight-one-instantiation.cpp:4:8'}}
17 // CHECK: {{^poi:[ ]+'.*templight-one-instantiation.cpp:18:10'$}}
18 foo<int> x;