X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=tests%2Fbreak.qc;h=46f1805bda18c81d595017cb80ba873be62e3b69;hb=d7a47eb5f99b18b1f29b4425f1ebc7c0971445c6;hp=6aa276b2e662e98b534c326f0998de6b19672025;hpb=57e7303cf47463c0e700f242e4d2eb9622c8e308;p=xonotic%2Fgmqcc.git diff --git a/tests/break.qc b/tests/break.qc index 6aa276b..46f1805 100644 --- a/tests/break.qc +++ b/tests/break.qc @@ -1,7 +1,4 @@ -void print(...) = #1; -string ftos (float) = #2; - -void main(float brkat, float contat) { +void test(float brkat, float contat) { float i; for (i = 0; i < 10; i += 1) { @@ -17,3 +14,10 @@ void main(float brkat, float contat) { } print("end\n"); } + +void main() { + test(-1, -1); + test( 3, -1); + test(-1, 3); + test( 5, 2); +}