]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/calls.qc
Shitty testsuite support for windows the hacky way because there exists no sane simpl...
[xonotic/gmqcc.git] / tests / calls.qc
1 float(float x, float y, float z) sum = {
2     return x + y + z;
3 };
4
5 void(float a, float b, float c) main = {
6     local float f;
7     f = sum(sum(a, sum(a, b, c), c),
8             sum(sum(sum(a, b, c), b, sum(a, b, c)), b, sum(a, b, sum(a, b, c))),
9             sum(sum(a, b, c), b, c));
10     print(ftos(f), "\n");
11     
12 };