blob: 1d58fa0c1916116d6159843928cf6409443c2e1c [file] [log] [blame]
// 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;