aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen/LazyChange.td
blob: c3e54de0a8b975ff35cf231adf9b8eff9c5d2be9 (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!