summaryrefslogtreecommitdiffstats
path: root/tests/run-make/extern-fn-with-union/ctest.c
blob: 86cb64537236e1611f877a64a32a1b52d06c5904 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <stdint.h>

typedef union TestUnion {
    uint64_t bits;
} TestUnion;

uint64_t give_back(TestUnion tu) {
    return tu.bits;
}