Sign in
third-party-mirror
/
cbindgen
/
9a26cd0114a633fa05ece30bd3f1b13149f496f2
/
.
/
cbindgen-0.24.5
/
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
)
{}