mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
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:
parent
93fc714b1d
commit
6b43c82378
11
test/TableGen/LazyChange.td
Normal file
11
test/TableGen/LazyChange.td
Normal 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!
|
||||
|
Loading…
Reference in New Issue
Block a user