Sign in
third-party-mirror
/
cbindgen
/
1f32778f219c6898ee4e83e77a24211565ea817d
/
.
/
cbindgen-0.27.0
/
tests
/
rust
/
enum_discriminant.rs
blob: 79c270fd82ea27c5358062594a72458cebaa5dc8 [
file
] [
log
] [
blame
]
pub
const
FOUR
:
i8
=
4
;
#[
repr
(
i8
)]
enum
E
{
A
=
1
,
B
=
-
1
,
C
=
1
+
2
,
D
=
FOUR
,
F
=
(
5
),
G
=
b
'6'
as
i8
,
H
=
false
as
i8
,
}
#[
no_mangle
]
pub
extern
"C"
fn
root
(
_
:
&
E
)
{}