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