mirror of
https://github.com/ziglang/zig.git
synced 2025-12-29 09:33:18 +00:00
* remove setFnTest builtin
* add test "name" { ... } syntax
* remove --check-unused argument. functions are always lazy now.
7 lines
181 B
Zig
7 lines
181 B
Zig
const assert = @import("std").debug.assert;
|
|
const a_namespace = @import("cases/import/a_namespace.zig");
|
|
|
|
test "callFnViaNamespaceLookup" {
|
|
assert(a_namespace.foo() == 1234);
|
|
}
|