Sign in
ara-mdk
/
platform
/
external
/
llvm
/
2d4629c5d7dcc6582fa7b85a517744f1a3654eba
/
.
/
test
/
TableGen
/
eqbit.td
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
;