leo/tests/compiler/statements/duplicate_variable.leo

12 lines
168 B
Plaintext

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