diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-15 14:08:31 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-15 14:24:27 -0700 |
commit | c19fd8b406eea9f33a2e4247f334d6c114447729 (patch) | |
tree | 80d166c14d2b1e8a26dd8302225e0bf2e4f2e652 /ext/XS-APItest/APItest.xs | |
parent | 2fc49ef14c391f64250e0f99fbbed2007b880289 (diff) | |
download | perl-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.xs | 7 |
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 |