leo/tests/compiler/char/neq.leo

25 lines
506 B
Plaintext
Raw Normal View History

/*
namespace: Compile
2022-05-18 15:33:04 +03:00
expectation: Fail
input_file:
- inputs/ascii.in
2021-06-10 01:54:05 +03:00
- inputs/escaped_unicode1.in
- inputs/escaped_unicode2.in
- inputs/escaped_unicode3.in
- inputs/escaped_unicode4.in
- inputs/escaped_unicode5.in
- inputs/escaped_unicode6.in
- inputs/escaped.in
2021-06-10 01:54:05 +03:00
- inputs/hex1.in
- inputs/hex2.in
- inputs/unicode1.in
- inputs/unicode2.in
- inputs/unicode3.in
- inputs/unicode4.in
- inputs/unicode5.in
*/
function main(character: char) -> char {
return character != 'a' ? 'a' : 'Z';
2022-05-18 15:33:04 +03:00
}