mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-19 15:41:36 +03:00
15 lines
272 B
Plaintext
15 lines
272 B
Plaintext
// namespace: Compile
|
|
// expectation: Pass
|
|
// inputs:
|
|
// - hello.in: |
|
|
// [main]
|
|
// hello: [char; 5] = "hello";
|
|
|
|
// [registers]
|
|
// r0: bool = true;
|
|
|
|
function main(hello: [char; 5]) -> bool {
|
|
let hello2: string = "hello";
|
|
|
|
return hello == hello2;
|
|
} |