• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-tblgen %s
2// XFAIL: vg_leak
3
4class Bla<string t>
5{
6  string blu = t;
7}
8
9class Bli<Bla t>
10{
11  Bla bla = t;
12}
13
14def a : Bli<Bla<"">>;
15def b : Bla<!cast<Bla>(a.bla).blu>; // works
16def c : Bla<a.bla.blu>; // doesn't work: Cannot access field 'blu' of value 'a.bla'
17