mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-20 18:32:01 +00:00
split-vectors test
This commit is contained in:
parent
3df51c5979
commit
09109bb176
2 changed files with 14 additions and 0 deletions
6
tests/split-vectors.qc
Normal file
6
tests/split-vectors.qc
Normal 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
8
tests/split-vectors.tmpl
Normal 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'
|
Loading…
Reference in a new issue