Files
cbindgen/tests/expectations/union.cpp
T
2017-11-09 18:04:22 -05:00

21 lines
228 B
C++

#include <cstdint>
#include <cstdlib>
extern "C" {
struct Opaque;
union Normal {
int32_t x;
float y;
};
union NormalWithZST {
int32_t x;
float y;
};
void root(Opaque *a, Normal b, NormalWithZST c);
} // extern "C"