]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/break.qc
forgot to add that one
[xonotic/gmqcc.git] / tests / break.qc
index 6aa276b2e662e98b534c326f0998de6b19672025..46f1805bda18c81d595017cb80ba873be62e3b69 100644 (file)
@@ -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);
+}