leo/tests/parser/statement/conditional.leo
2021-04-12 13:15:40 -07:00

25 lines
188 B
Plaintext

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