This was an oversight in 1903686f9eb09f587885d579f3e14c990e799938 because the code I grabbed to visit the generics was dealing with them somewhere else.
36 lines
465 B
C
36 lines
465 B
C
#if 0
|
|
''' '
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
template <typename T>
|
|
using ManuallyDrop = T;
|
|
#endif
|
|
|
|
#if 0
|
|
' '''
|
|
#endif
|
|
|
|
|
|
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
typedef struct NotReprC_Point NotReprC_Point;
|
|
|
|
typedef NotReprC_Point Foo;
|
|
|
|
typedef struct {
|
|
int32_t x;
|
|
int32_t y;
|
|
} Point;
|
|
|
|
typedef struct {
|
|
Point point;
|
|
} MyStruct;
|
|
|
|
void root(const Foo *a, const MyStruct *with_manual_drop);
|
|
|
|
void take(Point with_manual_drop);
|