From: Wolfgang Bumiller Date: Sat, 18 Oct 2014 11:51:25 +0000 (+0200) Subject: split-vectors test X-Git-Tag: xonotic-v0.8.1~9^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=09109bb1762d1df4caf6c5a7b6d2b0d789ac2493;p=xonotic%2Fgmqcc.git split-vectors test --- diff --git a/tests/split-vectors.qc b/tests/split-vectors.qc new file mode 100644 index 0000000..e98ed9f --- /dev/null +++ b/tests/split-vectors.qc @@ -0,0 +1,6 @@ +void main() { + print(vtos('1 2 3'), "\n"); + print(vtos('4 5 6'), "\n"); + print(vtos('7 8 9'), "\n"); + print(vtos('1 5 9'), "\n"); +} diff --git a/tests/split-vectors.tmpl b/tests/split-vectors.tmpl new file mode 100644 index 0000000..6701d32 --- /dev/null +++ b/tests/split-vectors.tmpl @@ -0,0 +1,8 @@ +I: split-vectors.qc +D: test -fsplit-vector-parameters +T: -execute +C: -std=fteqcc -Wall -Werror -fsplit-vector-parameters +M: '1 2 3' +M: '4 5 6' +M: '7 8 9' +M: '1 5 9'