X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=tests%2Fcalls.qc;h=f5ce732110e24a2280a406b34eccca4950a65c9f;hp=e230dc46adfaffe7fede589f9393c169deae7a38;hb=edb38ce70e86acde9530af5861cfcf8f396b5e75;hpb=60807b677cecb414b501503d73b50714534ff3b0 diff --git a/tests/calls.qc b/tests/calls.qc index e230dc4..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,5 +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"); - + };