64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
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!
|
|
|