summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-12-20 04:35:24 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-12-20 05:29:44 -0800
commitdb7bc125e0ddb063b2aac8686e21a031b1efbb85 (patch)
tree5599211f47e7116cefded34e75dca3d2965f08b0 /t/comp
parentb39c1059f09e1dd312ba1d5d2e39730eb5c50402 (diff)
downloadperl-db7bc125e0ddb063b2aac8686e21a031b1efbb85.tar.gz
Fix assertion failure with $x[CONST->[0]]
Diffstat (limited to 't/comp')
-rw-r--r--t/comp/parser.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/comp/parser.t b/t/comp/parser.t
index d7c4c06b20..f0f15ddc63 100644
--- a/t/comp/parser.t
+++ b/t/comp/parser.t
@@ -521,6 +521,8 @@ sub dummy { tell FILE1 }
# More potential multideref assertion failures
# OPf_PARENS on OP_RV2SV in subscript
$x[($_)];
+# OPf_SPECIAL on OP_GV in subscript
+$x[FILE1->[0]];
# Add new tests HERE (above this line)