From: Dale Weiler Date: Thu, 25 Apr 2013 17:39:05 +0000 (+0000) Subject: Add expressions for builtins test X-Git-Tag: 0.2.9~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1077eb20617f8df758baf17951f3594270ebd0c1;p=xonotic%2Fgmqcc.git Add expressions for builtins test --- diff --git a/tests/exprforbuiltins.qc b/tests/exprforbuiltins.qc new file mode 100644 index 0000000..583d5a3 --- /dev/null +++ b/tests/exprforbuiltins.qc @@ -0,0 +1,7 @@ +/* empty line required */ +void print(string, ...) = #__LINE__ - 1; + + +void main(string input) { + print(input, "\n"); +} diff --git a/tests/exprforbuiltins.tmpl b/tests/exprforbuiltins.tmpl new file mode 100644 index 0000000..06307ac --- /dev/null +++ b/tests/exprforbuiltins.tmpl @@ -0,0 +1,7 @@ +I: exprforbuiltins.qc +D: expressions for builtins +T: -execute +C: -std=gmqcc -fftepp -fftepp-predefs +F: -no-defs +E: -string test +M: test