repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
TableGen
/
FieldAccess.td
blob
8b4dc83e0a5bca8ed8e2cc8546e8a946bd976834
1
// RUN: 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'