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