blob: b77b1a26dfe158e2f314314b56108f69e8e40287 [file] [log] [blame]
// RUN: llvm-tblgen %s | FileCheck %s
// 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;