summaryrefslogtreecommitdiff
path: root/ext/XS-APItest/APItest.xs
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-10-15 14:08:31 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-15 14:24:27 -0700
commitc19fd8b406eea9f33a2e4247f334d6c114447729 (patch)
tree80d166c14d2b1e8a26dd8302225e0bf2e4f2e652 /ext/XS-APItest/APItest.xs
parent2fc49ef14c391f64250e0f99fbbed2007b880289 (diff)
downloadperl-c19fd8b406eea9f33a2e4247f334d6c114447729.tar.gz
Test uninit warnings for undef XS cmp retvals
Diffstat (limited to 'ext/XS-APItest/APItest.xs')
-rw-r--r--ext/XS-APItest/APItest.xs7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs
index f5aa9bd038..646d82162d 100644
--- a/ext/XS-APItest/APItest.xs
+++ b/ext/XS-APItest/APItest.xs
@@ -3254,6 +3254,13 @@ CODE:
OUTPUT:
RETVAL
+SV *
+xs_cmp_undef(SV *a, SV *b)
+CODE:
+ RETVAL = &PL_sv_undef;
+OUTPUT:
+ RETVAL
+
MODULE = XS::APItest PACKAGE = XS::APItest::AUTOLOADtest