llvm.org GIT mirror llvm / release_33 test / TableGen / LazyChange.td
release_33

Tree @release_33 (Download .tar.gz)

LazyChange.td @release_33raw · history · blame

1
2
3
4
5
6
7
8
9
// RUN: llvm-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!