Files
cbindgen/tests/expectations/typedef.cpp
T
2019-01-03 09:46:55 -06:00

19 lines
237 B
C++

#include <cstdarg>
#include <cstdint>
#include <cstdlib>
template<typename T, typename U>
struct Foo {
T x;
U y;
};
template<typename T>
using IntFoo = Foo<int32_t, T>;
extern "C" {
void root(IntFoo<int32_t> a);
} // extern "C"