mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 17:12:31 +00:00
12 lines
201 B
Zig
12 lines
201 B
Zig
use "libc.zig";
|
|
|
|
// purposefully conflicting function with main.zig
|
|
// but it's private so it should be OK
|
|
fn private_function() {
|
|
puts("it works!");
|
|
}
|
|
|
|
fn print_text() {
|
|
private_function();
|
|
}
|