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