summaryrefslogtreecommitdiff
path: root/dist/ExtUtils-ParseXS/t/002-more.t
diff options
context:
space:
mode:
Diffstat (limited to 'dist/ExtUtils-ParseXS/t/002-more.t')
-rw-r--r--dist/ExtUtils-ParseXS/t/002-more.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/dist/ExtUtils-ParseXS/t/002-more.t b/dist/ExtUtils-ParseXS/t/002-more.t
index 3ea89c2583..c8cc7bf97c 100644
--- a/dist/ExtUtils-ParseXS/t/002-more.t
+++ b/dist/ExtUtils-ParseXS/t/002-more.t
@@ -9,7 +9,7 @@ use ExtUtils::CBuilder;
use attributes;
use overload;
-plan tests => 30;
+plan tests => 32;
my ($source_file, $obj_file, $lib_file);
@@ -91,6 +91,12 @@ SKIP: {
is_deeply [XSMore::outlist()], [ord('a'), ord('b')], 'the OUTLIST keyword';
+ is_deeply [XSMore::outlist_bool("a", "b")], [ !0, "ab" ],
+ "OUTLIST with a bool RETVAL";
+
+ is_deeply [XSMore::outlist_int("c", "d")], [ 11, "cd" ],
+ "OUTLIST with an int RETVAL";
+
# eval so compile-time sees any prototype
is_deeply [ eval 'XSMore::outlist()' ], [ord('a'), ord('b')], 'OUTLIST prototypes';