Files
cbindgen/tests/expectations/union_self.cpp
T
2020-01-16 21:07:34 +01:00

21 lines
252 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
template<typename T>
struct Foo {
const int32_t *something;
};
union Bar {
int32_t something;
Foo<Bar> subexpressions;
};
extern "C" {
void root(Bar b);
} // extern "C"