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


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

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