projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add FP logic test cases to show current codegen (PR22428)
[oota-llvm.git]
/
test
/
TableGen
/
FieldAccess.td
1
// RUN: llvm-tblgen %s
2
// XFAIL: vg_leak
3
4
class Bla<string t>
5
{
6
string blu = t;
7
}
8
9
class Bli<Bla t>
10
{
11
Bla bla = t;
12
}
13
14
def a : Bli<Bla<"">>;
15
def b : Bla<!cast<Bla>(a.bla).blu>; // works
16
def c : Bla<a.bla.blu>; // doesn't work: Cannot access field 'blu' of value 'a.bla'