default-argumentvalue-complex.azsl 369 B

12345678910111213141516171819202122232425262728
  1. void f(float, int);
  2. void f(float, int)
  3. {}
  4. void g(float = 3.f, int);
  5. void g(float, int)
  6. {}
  7. void h(float, int = 2);
  8. void h(float, int)
  9. {}
  10. void i(float = (h(0,0),0.2f), int = 2);
  11. void i(float, int)
  12. {}
  13. void j(float ff, int ii);
  14. void j(float, int = 4)
  15. {}
  16. void k(float, int i = 5)
  17. {}
  18. void l(float, int = 6);
  19. void m(float F = 0.3f, int I);
  20. void m(float f, int i = 6)
  21. {}