mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
11 lines
215 B
Zig
11 lines
215 B
Zig
fn f(a: i32, a: i32) void {}
|
|
export fn entry() void {
|
|
f(1, 2);
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:14: error: redeclaration of function parameter 'a'
|
|
// :1:6: note: previous declaration here
|