leo/tests/compiler/function/duplicate_definition_fail.leo
2022-10-05 16:53:49 -07:00

18 lines
290 B
Plaintext

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