summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-01 10:38:03 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-01 10:38:03 +0000
commit43b09ad7a33220d66fb5299f7edd948446f7afa7 (patch)
treebd57ea293704ffc8daa6d92650ef3fc9e6f262ac /ext/B
parentea6a7c5888642f2a40f4c7124bc00d68d8d40278 (diff)
downloadperl-43b09ad7a33220d66fb5299f7edd948446f7afa7.tar.gz
The penultimate deparse test needs a name, else things can warn.
p4raw-id: //depot/perl@33163
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/t/deparse.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/B/t/deparse.t b/ext/B/t/deparse.t
index c2482b968a..5553df8c89 100644
--- a/ext/B/t/deparse.t
+++ b/ext/B/t/deparse.t
@@ -396,13 +396,14 @@ each @$a;
keys @$a if keys @ARGV;
values @ARGV if values @$a;
####
+# 51 Anonymous arrays and hashes, and references to them
my $a = {};
my $b = \{};
my $c = [];
my $d = \[];
####
# SKIP ?$] < 5.010 && "smartmatch and given/when not implemented on this Perl version"
-# 51 implicit smartmatch in given/when
+# 52 implicit smartmatch in given/when
given ('foo') {
when ('bar') { continue; }
when ($_ ~~ 'quux') { continue; }