1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2024-12-30 13:45:13 +03:00
leo/tests/compiler/char/neq.leo

14 lines
246 B
Plaintext
Raw Normal View History

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/ascii.in
- inputs/escaped_unicode.in
- inputs/escaped.in
- inputs/hex.in
- inputs/unicode.in
*/
function main(character: char) -> char {
return character != 'a' ? 'a' : 'Z';
}