zig/test/behavior/usingnamespace/bar.zig
Andrew Kelley cca57042df std: fix regressions from this branch
Also move some usingnamespace test cases from compare_output to
behavior.
2021-09-01 17:54:07 -07:00

8 lines
176 B
Zig

usingnamespace @import("other.zig");
pub var saw_bar_function = false;
pub fn bar_function() void {
if (@This().foo_function()) {
saw_bar_function = true;
}
}