leo/tests/parser/statement/conditional.leo
2022-05-17 14:41:30 +02:00

21 lines
185 B
Plaintext

/*
namespace: ParseStatement
expectation: Pass
*/
if x {
return 0u8;
}
if (x) {
return 0u8;
}
if (x) {} else {}
if x+y {} else if x+z {} else {}
if x+y {
return 0u8;
}