leo/tests/compiler/string/equality.leo

12 lines
236 B
Plaintext
Raw Normal View History

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/string.in
2021-05-23 00:57:05 +03:00
- inputs/weird.in
*/
function main(s1: [char; 13], s2: [char; 4]) -> bool {
let hello: [char; 13] = `Hello, World!`;
return hello == s1 && `nope` != s2;
}