split-vectors test

This commit is contained in:
Wolfgang Bumiller 2014-10-18 13:51:25 +02:00
parent 3df51c5979
commit 09109bb176
2 changed files with 14 additions and 0 deletions

6
tests/split-vectors.qc Normal file
View file

@ -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");
}

8
tests/split-vectors.tmpl Normal file
View file

@ -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'