leo/tests/compiler/statements/duplicate_variable.leo

12 lines
157 B
Plaintext
Raw Normal View History

2021-07-27 23:39:34 +03:00
/*
namespace: Compile
expectation: Fail
input_file: inputs/dummy.in
*/
function main(k: bool) -> bool {
let x = 1u8;
let x = true;
return k == true;
}