mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
12 lines
189 B
Zig
12 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
|