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