leo/tests/compiler/function/shadow_global_const_input_fail copy.leo

13 lines
166 B
Plaintext

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