Tests for perl-logic _types_

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-12-18 16:57:38 +01:00
parent 2a61a65ce0
commit dd6f415a04
2 changed files with 14 additions and 0 deletions

8
tests/perl-logic.qc Normal file
View 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
View 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