]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/varargs.qc
Parameter omitting in fteqcc is disallowed.
[xonotic/gmqcc.git] / tests / varargs.qc
index 4b0d80686e079be78b63f3c0a2f95e0768062a83..eceec4a5ac693a824ead8f758a262207515fb678 100644 (file)
@@ -1,4 +1,4 @@
-void nbva(float a, string...count) {
+void nbva(float a, ...count) {
     print("You gave me ", ftos(count), " additional parameters\n");
     print("First: ", ...(0, string), "\n");
     print("You chose: ", ...(a, string), "\n");