[llvm-commits] CVS: llvm/test/Regression/TableGen/LazyChange.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 18 20:35:14 PDT 2005
Changes in directory llvm/test/Regression/TableGen:
LazyChange.td added (r1.1)
---
Log message:
New testcase for a changing values late and allowing them to propagate
---
Diffs of the changes: (+11 -0)
LazyChange.td | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/test/Regression/TableGen/LazyChange.td
diff -c /dev/null llvm/test/Regression/TableGen/LazyChange.td:1.1
*** /dev/null Mon Apr 18 22:35:08 2005
--- llvm/test/Regression/TableGen/LazyChange.td Mon Apr 18 22:34:58 2005
***************
*** 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!
+
More information about the llvm-commits
mailing list