- //Fun with Expressions, Statements and Factors
- //this file should be correct
- class FunTest {
- formal formal() {
- ident.ident.ident.ident;
- printInt({});
- printChar(!"a");
- while ({}) {}
- while (("da da da")) {this.dududu == true;}
- while (34.da) {{};}
- if ( expr ) expr else expr;
- exrp == expr;
- expr == term --factor * ! factor;
- {} == ({});
- {} && {} <= {};
- {}.bla();
- {{};} * new bla ({return {return bla}});
- }
- }
- test