mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
20 lines
375 B
C
20 lines
375 B
C
struct Bar;
|
|
|
|
struct Foo {
|
|
struct Bar *next;
|
|
};
|
|
|
|
struct Bar {
|
|
struct Foo *next;
|
|
};
|
|
|
|
// translate-c
|
|
// c_frontend=clang
|
|
//
|
|
// pub const struct_Bar = extern struct {
|
|
// next: [*c]struct_Foo = @import("std").mem.zeroes([*c]struct_Foo),
|
|
// };
|
|
//
|
|
// pub const struct_Foo = extern struct {
|
|
// next: [*c]struct_Bar = @import("std").mem.zeroes([*c]struct_Bar),
|
|
// };
|