X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=tests%2Fcalls.qc;h=7b09f11e0737abcc288403d8e530f3e909f63243;hb=fa5ad1212eb2cac046ff66dffb472cec9b024b9f;hp=d55598ed300ff7cbc2b49c8a0a774c879f7e4d12;hpb=49cb2bcda2b9597fafe3f9ead03cba9e26ddd777;p=xonotic%2Fgmqcc.git 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"); + };