leo/tests/compiler/function/shadow_parameter_fail.leo

14 lines
190 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file: input/dummy.in
*/
function tester(hi: u8) -> u8 {
const hi = 2u8;
return hi;
}
function main (y: bool) -> bool {
return y;
}