leo/tests/compiler/string/equality.leo
2021-05-22 17:57:05 -04:00

12 lines
236 B
Plaintext

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