leo/tests/parser/statement/conditional.leo
2022-03-28 10:35:36 -07:00

21 lines
188 B
Plaintext

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