Files
cbindgen/tests/expectations/enum_discriminant.cpp
T
2020-10-31 16:58:37 +01:00

24 lines
298 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
static const int8_t FOUR = 4;
enum class E : int8_t {
A = 1,
B = -1,
C = (1 + 2),
D = FOUR,
F = 5,
G = (int8_t)'6',
H = (int8_t)false,
};
extern "C" {
void root(const E*);
} // extern "C"