mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
b4be7f6b04
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!
|
|
|