mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-24 07:01:35 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189060 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
149 B
TableGen
13 lines
149 B
TableGen
// RUN: llvm-tblgen %s | FileCheck %s
|
|
|
|
// CHECK: int Y = 3
|
|
|
|
class C {
|
|
int X = 4;
|
|
int Y = X;
|
|
}
|
|
|
|
let X = 3 in
|
|
def D : C; // Y should be 3 too!
|
|
|