leo/tests/compiler/function/duplicate_definition_fail.leo

16 lines
228 B
Plaintext

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