mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-29 21:22:55 +03:00
10 lines
250 B
Plaintext
10 lines
250 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
function main() -> i64 {
|
|
let a: i64 = -9223372036854775807i64;
|
|
|
|
return a - 2i64; // This line attempts to return -9223372036854775809i64 however, the smallest i64 value is -9223372036854775808i64.
|
|
} |