f32dbaf0b2
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
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!
|
|
|