zig/example/multiple_files/foo.zig
2016-01-04 01:52:32 -07:00

12 lines
206 B
Zig

use "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();
}