mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-11-17 16:07:00 +00:00
12 lines
170 B
TableGen
12 lines
170 B
TableGen
// RUN: llvm-tblgen %s | FileCheck %s
|
|
// XFAIL: vg_leak
|
|
// CHECK: a = 6
|
|
// CHECK: a = 5
|
|
|
|
class A<bit b = 1> {
|
|
int a = !if(!eq(b, 1), 5, 6);
|
|
}
|
|
|
|
def X : A<0>;
|
|
def Y : A;
|