aboutsummaryrefslogtreecommitdiff
path: root/example/multiple_files/foo.zig
blob: d1bee30c5d814880efef3d2c19818f4950263c9f (plain)
1
2
3
4
5
6
7
8
9
10
11
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();
}