diff options
author | Tony Cook <tony@develop-help.com> | 2019-05-29 14:37:25 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2019-06-11 16:08:36 +1000 |
commit | 82de236bf4d8d37736218318628cc3f85c53ab28 (patch) | |
tree | 00ba21e36a32891c2c0ee611b5fc174547b6be96 /t | |
parent | be9b0510216085dfb679b29a41e483c07effbb79 (diff) | |
download | perl-82de236bf4d8d37736218318628cc3f85c53ab28.tar.gz |
(perl #133850) allow attributes in sub-parses
Diffstat (limited to 't')
-rw-r--r-- | t/op/attrs.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/op/attrs.t b/t/op/attrs.t index 649525ce22..dd230b3fbd 100644 --- a/t/op/attrs.t +++ b/t/op/attrs.t @@ -507,4 +507,7 @@ BEGIN failed--compilation aborted at - line 1. EOS "attribute on our hash with sub of same name"); +fresh_perl_is('$_ = ""; s/^/ { my $x : shared = 1; } /e;', "", {}, + "attributes in sub-parse"); + done_testing(); |