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
This commit is contained in:
Chris Lattner 2005-04-19 03:34:58 +00:00
parent 93fc714b1d
commit 6b43c82378

View File

@ -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!