Sign in
ara-mdk
/
platform
/
external
/
llvm
/
96a198755ec5a45d9047c2757ab4fdf5eb24647a
/
.
/
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
;