xref: /llvm-project/llvm/test/TableGen/LazyChange.td (revision 7c20aab621c25c209472e906816f48b7c9945321)
1// RUN: llvm-tblgen %s | FileCheck %s
2
3// CHECK: int Y = 3
4
5class C {
6  int X = 4;
7  int Y = X;
8}
9
10let X = 3 in
11def D : C;    // Y should be 3 too!
12
13