This was an oversight in 1903686f9eb09f587885d579f3e14c990e799938 because the code I grabbed to visit the generics was dealing with them somewhere else.
33 lines
430 B
C
33 lines
430 B
C
#if 0
|
|
''' '
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
template <typename T>
|
|
using Box = T*;
|
|
#endif
|
|
|
|
#if 0
|
|
' '''
|
|
#endif
|
|
|
|
|
|
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
typedef struct NotReprC_____i32 NotReprC_____i32;
|
|
|
|
typedef NotReprC_____i32 Foo;
|
|
|
|
typedef struct {
|
|
int32_t *number;
|
|
} MyStruct;
|
|
|
|
void root(const Foo *a, const MyStruct *with_box);
|
|
|
|
void drop_box(int32_t *x);
|
|
|
|
void drop_box_opt(int32_t *x);
|