mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
14 lines
304 B
Plaintext
14 lines
304 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_file:
|
|
- inputs/input_unequal.in
|
|
- inputs/input_equal.in
|
|
*/
|
|
|
|
// Conditionally add two u32 integers and log the result to the console.
|
|
function main(a: u32, b: u32) {
|
|
if a == b {
|
|
console.log("{}=={}", a, b); // This line should not fail.
|
|
}
|
|
} |