leo/tests/parser/statement/conditional.leo

25 lines
188 B
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
/*
2021-04-07 20:01:24 +03:00
namespace: ParseStatement
2021-03-30 01:45:10 +03:00
expectation: Pass
*/
if x {
return ();
}
if Self {
return ();
}
if (x) {
return ();
}
if (x) {}
if x+y {}
if x+y {
expr;
return ();
}