leo/tests/compiler/function/duplicate_definition_fail.leo

15 lines
169 B
Plaintext
Raw Normal View History

2021-05-05 18:29:44 +03:00
/*
namespace: Compile
expectation: Fail
2021-07-28 21:53:45 +03:00
input_file: input/dummy.in
2021-05-05 18:29:44 +03:00
*/
2021-07-28 21:53:45 +03:00
function main() {
2021-07-27 23:39:34 +03:00
console.log("{}", 1u8);
2021-04-07 20:20:58 +03:00
}
function main() {
2021-07-28 21:53:45 +03:00
console.log("{}", 2u8);
2021-05-05 18:29:44 +03:00
}