leo/tests/compiler/statements/duplicate_variable.leo
2021-07-27 13:39:34 -07:00

12 lines
157 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file: inputs/dummy.in
*/
function main(k: bool) -> bool {
let x = 1u8;
let x = true;
return k == true;
}