move passing stage1 compile error tests to stage2
This commit is contained in:
committed by
Jakub Konka
parent
c248af3bdc
commit
3204d00a5e
@@ -0,0 +1,11 @@
|
||||
fn f(a : i32) void {
|
||||
const a = 0;
|
||||
}
|
||||
export fn entry() void { f(1); }
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// :2:11: error: redeclaration of function parameter 'a'
|
||||
// :1:6: note: previous declaration here
|
||||
Reference in New Issue
Block a user