mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
12 lines
292 B
Zig
12 lines
292 B
Zig
const expect = @import("std").testing.expect;
|
|
|
|
usingnamespace @import("foo.zig");
|
|
usingnamespace @import("bar.zig");
|
|
|
|
test "no clobbering happened" {
|
|
@This().foo_function();
|
|
@This().bar_function();
|
|
try expect(@This().saw_foo_function);
|
|
try expect(@This().saw_bar_function);
|
|
}
|