summaryrefslogtreecommitdiff
path: root/test/TableGen/LazyChange.td
blob: fa53562b8c2724e8d9c3d507c5910a22f88966b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: tblgen %s | grep {int Y = 3}
// XFAIL: vg_leak

class C {
  int X = 4;
  int Y = X;
}

let X = 3 in
def D : C;    // Y should be 3 too!