mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
13 lines
189 B
Zig
13 lines
189 B
Zig
fn a() void {}
|
|
fn a() void {}
|
|
export fn entry() void {
|
|
a();
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :2:1: error: redeclaration of 'a'
|
|
// :1:1: note: other declaration here
|