Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
parameter_redeclaration.zig
pretty
plain
permalink
blame
history
•
9 lines
•
180 B
1
fn f(a: i32, a: i32) void {}
2
export fn entry() void {
3
f(1, 2);
4
}
5
6
// error
7
//
8
// :1:14: error: redeclaration of function parameter 'a'
9
// :1:6: note: previous declaration here