arithmetic_expression_m_optimized.gravity 196 B

12345678910
  1. #unittest {
  2. name: "Arithmetic expression (*,/,%) with multiple subnodes, testing optimizer operator execution order.";
  3. error: NONE;
  4. result: 9;
  5. };
  6. func main() {
  7. var a = 6 / 2 * 3;
  8. return a;
  9. }