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