diff options
-rw-r--r-- | test/TableGen/LazyChange.td | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/TableGen/LazyChange.td b/test/TableGen/LazyChange.td new file mode 100644 index 0000000..c3e54de --- /dev/null +++ b/test/TableGen/LazyChange.td @@ -0,0 +1,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! + |