repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ThinLTO] Add code comment. NFC
[llvm-complete.git]
/
test
/
TableGen
/
code.td
blob
317e3e4d3f054f25aaede61a1bcd269b0d527f6f
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
4
// CHECK: --- Defs ---
5
6
// CHECK: def A0 {
7
// CHECK: code Code = [{Simple}];
8
// CHECK: }
9
10
// CHECK: def B0 {
11
// CHECK: code Code = [{With paste 7}];
12
// CHECK: }
13
14
class A<code c> {
15
code Code = c;
16
}
17
18
def A0 : A<"Simple">;
19
20
class B<int i> : A<"With paste " # i>;
21
22
def B0 : B<7>;