Files
cbindgen/tests/expectations/maybeuninit.cpp
T
2020-09-29 13:36:45 +02:00

23 lines
358 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <new>
template<typename T = void>
struct MaybeUninit;
template<typename T = void>
struct NotReprC;
using Foo = NotReprC<MaybeUninit<const int32_t*>>;
struct MyStruct {
const int32_t *number;
};
extern "C" {
void root(const Foo *a, const MyStruct *with_maybe_uninit);
} // extern "C"