leo/tests/compiler/function/duplicate_definition_fail.leo
2022-04-27 12:04:45 -07:00

16 lines
227 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file: input/dummy.in
*/
function main(y: bool) -> bool {
console.log("{}", 1u8);
return y;
}
function main(y: bool) -> bool {
console.log("{}", 2u8);
return y;
}