mirror of
https://github.com/ziglang/zig.git
synced 2025-12-26 16:13:07 +00:00
15 lines
190 B
Zig
15 lines
190 B
Zig
const A = struct {
|
|
b: B,
|
|
};
|
|
|
|
const B = fn (A) void;
|
|
|
|
test "allow these dependencies" {
|
|
var a: A = undefined;
|
|
var b: B = undefined;
|
|
if (false) {
|
|
a;
|
|
b;
|
|
}
|
|
}
|