mirror of
https://github.com/ziglang/zig.git
synced 2025-12-10 08:13:07 +00:00
11 lines
185 B
Zig
11 lines
185 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
|