forked from OSchip/llvm-project
New testcase for a changing values late and allowing them to propagate
llvm-svn: 21343
This commit is contained in:
parent
d90d566dee
commit
ab77740715
|
@ -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!
|
||||
|
Loading…
Reference in New Issue