X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=tests%2Fcalls.qc;h=7b09f11e0737abcc288403d8e530f3e909f63243;hp=d55598ed300ff7cbc2b49c8a0a774c879f7e4d12;hb=581d0dfc15825abeb38d781e9f87b98e67c04407;hpb=d1fd7d044ba1470dd6c66b1f265ec3aafb829b07 diff --git a/tests/calls.qc b/tests/calls.qc index d55598e..7b09f11 100644 --- a/tests/calls.qc +++ b/tests/calls.qc @@ -1,6 +1,3 @@ -void(string, ...) print = #1; -string(float) ftos = #2; - float(float x, float y, float z) sum = { return x + y + z; }; @@ -11,4 +8,5 @@ void(float a, float b, float c) main = { sum(sum(sum(a, b, c), b, sum(a, b, c)), b, sum(a, b, sum(a, b, c))), sum(sum(a, b, c), b, c)); print(ftos(f), "\n"); + };