multiple_call.gravity 228 B

123456789101112131415
  1. #unittest {
  2. name: "Test multiple call.";
  3. error: NONE;
  4. result: 123;
  5. };
  6. func f1() {return 123;}
  7. func f2() {return f1;}
  8. func f3() {return f2;}
  9. func f4() {return f3;}
  10. func f5() {return f4;}
  11. func main() {
  12. return f5()()()()();
  13. }