repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git]
/
test
/
CodeGenCXX
/
debug-info-template.cpp
blob
0ddfc242b10e35bf6158e0d1c6c6c7d1166eebf7
1
// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
2
3
//CHECK: TC<int>
4
//CHECK: DW_TAG_template_type_parameter
5
6
template
<
typename T
>
7
class
TC
{
8
public
:
9
TC
(
const
TC
&) {}
10
TC
() {}
11
};
12
13
TC
<
int
>
tci
;
14
15
//CHECK: TU<2>
16
//CHECK: DW_TAG_template_value_parameter
17
template
<
unsigned
>
18
class
TU
{
19
int
b
;
20
};
21
22
TU
<
2
>
u2
;