aboutsummaryrefslogtreecommitdiff
path: root/example/multiple_files/foo.zig
blob: 5f7484f9168d6115caefa2d512cc4556e9ab29a6 (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();
}