mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
Tests for perl-logic _types_
This commit is contained in:
parent
2a61a65ce0
commit
dd6f415a04
2 changed files with 14 additions and 0 deletions
8
tests/perl-logic.qc
Normal file
8
tests/perl-logic.qc
Normal file
|
@ -0,0 +1,8 @@
|
|||
void print(...) = #1;
|
||||
|
||||
void main() {
|
||||
vector va, vb;
|
||||
string sa, sb;
|
||||
print(__builtin_debug_typestring(va || vb), "\n");
|
||||
print(__builtin_debug_typestring(sa || sb), "\n");
|
||||
}
|
6
tests/perl-logic.tmpl
Normal file
6
tests/perl-logic.tmpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
I: perl-logic.qc
|
||||
D: perl logic output types
|
||||
T: -execute
|
||||
C: -std=fteqcc -fperl-logic
|
||||
M: vector
|
||||
M: string
|
Loading…
Reference in a new issue