summaryrefslogtreecommitdiff
path: root/t/lib
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-12 15:40:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-01-12 15:40:53 +0000
commit54dc0f912bb497a6d6861fbfa3f067ec3cfdfe0c (patch)
treeea0f085b0ad47fa73e33cfd1b3d15220c2e45a15 /t/lib
parent764289d88134dd8424d60ca15744b687b335cc99 (diff)
downloadperl-54dc0f912bb497a6d6861fbfa3f067ec3cfdfe0c.tar.gz
Don't warn when localizing $[
p4raw-id: //depot/perl@26803
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/warnings/op1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op
index ca92412d62..4f00c12258 100644
--- a/t/lib/warnings/op
+++ b/t/lib/warnings/op
@@ -1023,6 +1023,7 @@ local(pos($x)); # OP_POS
local(vec($x,0,1)); # OP_VEC
local($a[$b]); # OP_AELEM ok
local($a{$b}); # OP_HELEM ok
+local($[); # OP_CONST
no warnings 'syntax';
EXPECT