RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
35
zeroidc/vendor/cbindgen/tests/expectations/monomorph_3.cpp
vendored
Normal file
35
zeroidc/vendor/cbindgen/tests/expectations/monomorph_3.cpp
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <ostream>
|
||||
#include <new>
|
||||
|
||||
template<typename T = void>
|
||||
struct Bar;
|
||||
|
||||
template<typename T>
|
||||
union Foo {
|
||||
const T *data;
|
||||
};
|
||||
|
||||
template<typename T, typename E>
|
||||
union Tuple {
|
||||
const T *a;
|
||||
const E *b;
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
using Indirection = Tuple<T, float>;
|
||||
|
||||
extern "C" {
|
||||
|
||||
void root(Foo<int32_t> a,
|
||||
Foo<float> b,
|
||||
Bar<float> c,
|
||||
Foo<Bar<float>> d,
|
||||
Bar<Foo<float>> e,
|
||||
Bar<Bar<float>> f,
|
||||
Tuple<Foo<float>, float> g,
|
||||
Indirection<float> h);
|
||||
|
||||
} // extern "C"
|
||||
Reference in New Issue
Block a user