2016-01-04 16:42:09 +08:00
|
|
|
use "std.zig";
|
2015-12-01 10:58:53 +08:00
|
|
|
|
2015-12-01 13:53:37 +08:00
|
|
|
// purposefully conflicting function with main.zig
|
|
|
|
// but it's private so it should be OK
|
|
|
|
fn private_function() {
|
2016-01-04 16:42:09 +08:00
|
|
|
print_str("OK 1\n");
|
2015-12-01 10:58:53 +08:00
|
|
|
}
|
2015-12-01 13:53:37 +08:00
|
|
|
|
2015-12-01 17:08:58 +08:00
|
|
|
pub fn print_text() {
|
2015-12-01 13:53:37 +08:00
|
|
|
private_function();
|
|
|
|
}
|