zig/example/multiple_files/foo.zig
2016-01-25 17:08:18 -07:00

12 lines
213 B
Zig

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