1
1
mirror of https://github.com/AleoHQ/leo.git synced 2024-12-28 03:54:23 +03:00
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;
}