From: Chris Lattner Date: Tue, 19 Apr 2005 03:34:58 +0000 (+0000) Subject: New testcase for a changing values late and allowing them to propagate X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6b43c8237893381c89bc1effe8503a7b3839ccfe;p=oota-llvm.git New testcase for a changing values late and allowing them to propagate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21343 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/TableGen/LazyChange.td b/test/TableGen/LazyChange.td new file mode 100644 index 00000000000..c3e54de0a8b --- /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! +