mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 22:33:08 +00:00
12 lines
206 B
Zig
12 lines
206 B
Zig
use "libc.zig";
|
|
|
|
// purposefully conflicting function with main.zig
|
|
// but it's private so it should be OK
|
|
fn private_function() {
|
|
puts(c"it works!");
|
|
}
|
|
|
|
pub fn print_text() {
|
|
private_function();
|
|
}
|