leo/tests/compiler/function/shadow_function_with_input_fail.leo

16 lines
185 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
function hi() -> u8 {
return 0u8;
}
function tester(hi: u8) -> u8 {
return 0u8;
}
function main (y: bool) -> bool {
return y;
}