repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
TableGen
/
field-access-initializers.td
blob
ca25d067a16894ac45dff9555d5e2eb9ab7ee1d0
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
4
// CHECK: class B<A B:impl = ?> {
5
// CHECK: string value = B:impl.value;
6
// CHECK: }
7
8
// CHECK: --- Defs ---
9
10
// CHECK: def A1 {
11
// CHECK: string value = ?;
12
// CHECK: }
13
14
// CHECK: def B1 {
15
// CHECK: string value = ?;
16
// CHECK: }
17
18
class A {
19
string value = ?;
20
}
21
22
class B<A impl> : A {
23
let value = impl.value;
24
}
25
26
def A1 : A;
27
def B1 : B<A1>;