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

11 lines
156 B
C
Raw Normal View History

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