From dd6f415a0456b7f09afebe6b008060bdb7fecb91 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 18 Dec 2012 16:57:38 +0100 Subject: [PATCH] Tests for perl-logic _types_ --- tests/perl-logic.qc | 8 ++++++++ tests/perl-logic.tmpl | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/perl-logic.qc create mode 100644 tests/perl-logic.tmpl diff --git a/tests/perl-logic.qc b/tests/perl-logic.qc new file mode 100644 index 0000000..5b56c45 --- /dev/null +++ b/tests/perl-logic.qc @@ -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"); +} diff --git a/tests/perl-logic.tmpl b/tests/perl-logic.tmpl new file mode 100644 index 0000000..acd452d --- /dev/null +++ b/tests/perl-logic.tmpl @@ -0,0 +1,6 @@ +I: perl-logic.qc +D: perl logic output types +T: -execute +C: -std=fteqcc -fperl-logic +M: vector +M: string -- 2.39.2