mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
My previous commit added a new behavior test that passes for stage2 but I forgot to check whether it passes for stage1. Since it does not, it has to be disabled. Additionally, this commit organizes behavior tests; there is no longer a section of tests only passing for stage1. Instead, tests are disabled on an individual basis. There is an except for the file which has global assembly in it.
17 lines
317 B
Zig
17 lines
317 B
Zig
const A = extern struct {
|
|
field: c_int,
|
|
};
|
|
|
|
extern fn issue529(?*A) void;
|
|
|
|
comptime {
|
|
_ = @import("529_other_file_2.zig");
|
|
}
|
|
|
|
test "issue 529 fixed" {
|
|
if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; // TODO
|
|
|
|
@import("529_other_file.zig").issue529(null);
|
|
issue529(null);
|
|
}
|