zig/example/multiple_files/main.zig

14 lines
218 B
Zig
Raw Normal View History

2015-12-01 17:29:21 +08:00
export executable "test-multiple-files";
2016-01-16 09:45:52 +08:00
import "std.zig";
import "foo.zig";
pub fn main(args: [][]u8) -> %void {
2015-12-01 13:53:37 +08:00
private_function();
%%stdout.printf("OK 2\n");
2015-12-01 13:53:37 +08:00
}
fn private_function() {
print_text();
}