mirror of
https://github.com/ziglang/zig.git
synced 2025-12-11 00:33:08 +00:00
13 lines
166 B
C
13 lines
166 B
C
union Foo {
|
|
int x;
|
|
};
|
|
|
|
// translate-c
|
|
// c_frontend=aro,clang
|
|
//
|
|
// pub const union_Foo = extern union {
|
|
// x: c_int,
|
|
// };
|
|
//
|
|
// pub const Foo = union_Foo;
|