2017-01-05 00:57:48 -08:00
|
|
|
const assert = @import("std").debug.assert;
|
2017-03-26 03:39:28 -07:00
|
|
|
const a_namespace = @import("import/a_namespace.zig");
|
2016-12-21 21:12:27 -08:00
|
|
|
|
2017-03-16 13:02:35 -07:00
|
|
|
test "callFnViaNamespaceLookup" {
|
2016-12-21 21:12:27 -08:00
|
|
|
assert(a_namespace.foo() == 1234);
|
|
|
|
}
|