aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen/LazyChange.td
blob: 306959ebb6a2fba01fa65bf032dac1cd6bfef33c (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: llvm-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!