mirror of
https://github.com/ziglang/zig.git
synced 2025-12-10 08:13:07 +00:00
11 lines
214 B
Zig
11 lines
214 B
Zig
fn f(a : i32, a : i32) void {
|
|
}
|
|
export fn entry() void { f(1, 2); }
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:15: error: redeclaration of function parameter 'a'
|
|
// :1:6: note: previous declaration here
|