leo/tests/compiler/function/shadow_global_const_var_fail.leo

13 lines
169 B
Plaintext
Raw Normal View History

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