Sign in
third-party-mirror
/
cbindgen
/
refs/heads/main
/
.
/
cbindgen-0.27.0
/
tests
/
expectations
/
enum_discriminant.c
blob: 181dab159700a8a3ab5b99841ff1cdc0d8858a82 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdarg.h>
#include
<stdbool.h>
#include
<stdint.h>
#include
<stdlib.h>
#define
FOURTY_FOUR
4
enum
E
{
A
=
1
,
B
=
-
1
,
C
=
(
1
+
2
),
D
=
FOURTY_FOUR
,
F
=
5
,
G
=
(
int8_t
)
54
,
H
=
(
int8_t
)
false
,
};
typedef
int8_t
E
;
void
root
(
const
E
*);