leo/tests/compiler/statements/duplicate_variable.leo
2022-10-05 16:53:49 -07:00

14 lines
218 B
Plaintext

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