leo/tests/compiler/function/shadow_parameter_fail.leo
2022-10-05 16:53:49 -07:00

16 lines
248 B
Plaintext

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