d652d29ae2
There are two situations where we can legitimately end up with a different number of template params. Fixes #532. Fixes #527.
23 lines
328 B
C++
23 lines
328 B
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <new>
|
|
|
|
template<typename T = void>
|
|
struct NotReprC;
|
|
|
|
template<typename T = void>
|
|
struct RefCell;
|
|
|
|
using Foo = NotReprC<RefCell<int32_t>>;
|
|
|
|
struct MyStruct {
|
|
int32_t number;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
void root(const Foo *a, const MyStruct *with_cell);
|
|
|
|
} // extern "C"
|