blob: b82418d820bfb8cfbaa696b4711afb05580537f4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
const Foo = struct {};
fn f(Foo: i32) void {}
export fn entry() void {
f(1234);
}
// error
//
// :2:6: error: function parameter shadows declaration of 'Foo'
// :1:1: note: declared here
|