summaryrefslogtreecommitdiff
path: root/dist/B-Deparse/t/deparse.t
diff options
context:
space:
mode:
Diffstat (limited to 'dist/B-Deparse/t/deparse.t')
-rw-r--r--dist/B-Deparse/t/deparse.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/B-Deparse/t/deparse.t b/dist/B-Deparse/t/deparse.t
index 0a31c66109..df90124535 100644
--- a/dist/B-Deparse/t/deparse.t
+++ b/dist/B-Deparse/t/deparse.t
@@ -1368,3 +1368,10 @@ $a x= $b;
####
# @_ with padrange
my($a, $b, $c) = @_;
+####
+# SKIP ?$] < 5.017004 && "lexical subs not implemented on this Perl version"
+# TODO unimplemented in B::Deparse; RT #116553
+# lexical subroutine
+use feature 'lexical_subs';
+my sub f {}
+print f();