zig/example/multiple_files/foo.zig
2016-01-15 18:45:52 -07:00

12 lines
215 B
Zig

import "std.zig";
// purposefully conflicting function with main.zig
// but it's private so it should be OK
fn private_function() => {
print_str("OK 1\n");
}
pub fn print_text() => {
private_function();
}