mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-10 17:07:06 +00:00
874f021bc1
green. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113491 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
268 B
TableGen
17 lines
268 B
TableGen
// RUN: 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'
|