zig/test/cases/import.zig

9 lines
202 B
Zig
Raw Normal View History

2017-01-05 00:57:48 -08:00
const assert = @import("std").debug.assert;
2016-12-25 23:49:30 -08:00
const a_namespace = @import("cases/import/a_namespace.zig");
fn callFnViaNamespaceLookup() {
@setFnTest(this);
assert(a_namespace.foo() == 1234);
}