1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/TableGen/eqbit.td

11 lines
152 B
TableGen
Raw Normal View History

// 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;