mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
78a1609fa2
llvm-svn: 141294
17 lines
273 B
TableGen
17 lines
273 B
TableGen
// RUN: llvm-tblgen %s
|
|
// XFAIL: vg_leak
|
|
|
|
class Bla<string t>
|
|
{
|
|
string blu = t;
|
|
}
|
|
|
|
class Bli<Bla t>
|
|
{
|
|
Bla bla = t;
|
|
}
|
|
|
|
def a : Bli<Bla<"">>;
|
|
def b : Bla<!cast<Bla>(a.bla).blu>; // works
|
|
def c : Bla<a.bla.blu>; // doesn't work: Cannot access field 'blu' of value 'a.bla'
|