X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=tests%2Fcalls.qc;h=f5ce732110e24a2280a406b34eccca4950a65c9f;hp=d55598ed300ff7cbc2b49c8a0a774c879f7e4d12;hb=a9ac6987a6a0526f55c6866a504609699d19de5d;hpb=990dcb106a86ae880f55471412ff51356d56465c diff --git a/tests/calls.qc b/tests/calls.qc index d55598e..f5ce732 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"); + };