rust/tests/run-make/extern-fn-with-union/ctest.c

11 lines
156 B
C

#include <stdio.h>
#include <stdint.h>
typedef union TestUnion {
uint64_t bits;
} TestUnion;
uint64_t give_back(TestUnion tu) {
return tu.bits;
}