zig/test/behavior/bugs/529.zig
Andrew Kelley 4307436b99 move behavior tests from test/stage1/ to test/
And fix test cases to make them pass. This is in preparation for
starting to pass behavior tests with self-hosted.
2021-04-29 15:54:04 -07:00

15 lines
231 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" {
@import("529_other_file.zig").issue529(null);
issue529(null);
}