X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=tests%2Fternary.qc;h=bdac5264191d8ed88442ee98cd278df77d35fb41;hp=242a2404d54f3668a0f707f16cf7f71895250dc0;hb=9d89a059aa6d2a03d3a08de4db295e08e45458d9;hpb=60807b677cecb414b501503d73b50714534ff3b0 diff --git a/tests/ternary.qc b/tests/ternary.qc index 242a240..bdac526 100644 --- a/tests/ternary.qc +++ b/tests/ternary.qc @@ -1,6 +1,3 @@ -void print(...) = #1; -string ftos (float) = #2; - void test(float cond, float v1, float v2, float a) { print(ftos(cond ? v1 : v2), " "); print( (cond ? v1 : v2) ? ( (a == 1) ? "a=1"