LazyChange.td 149 B

123456789101112
  1. // RUN: llvm-tblgen %s | FileCheck %s
  2. // CHECK: int Y = 3
  3. class C {
  4. int X = 4;
  5. int Y = X;
  6. }
  7. let X = 3 in
  8. def D : C; // Y should be 3 too!