mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 05:24:40 +01:00
11 lines
205 B
Zig
11 lines
205 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!");
|
|
}
|
|
|
|
pub fn print_text() {
|
|
private_function();
|
|
}
|