mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 02:22:44 +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;
|
||
|
}
|