diff options
author | Felipe Gasper <felipe@felipegasper.com> | 2022-09-12 11:41:08 -0400 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2022-10-10 08:47:18 +1100 |
commit | a37e8492a204a8885d9d7e6526c9ef1a1902690f (patch) | |
tree | 6f900466ddacdd56ab7c9cac8f74487803c93d72 /lib/B/Deparse.t | |
parent | f607bd2c8370dd4042f36b18fef48faa2b9773e4 (diff) | |
download | perl-a37e8492a204a8885d9d7e6526c9ef1a1902690f.tar.gz |
Add anonconst test to Deparse.t
Diffstat (limited to 'lib/B/Deparse.t')
-rw-r--r-- | lib/B/Deparse.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/B/Deparse.t b/lib/B/Deparse.t index a30f1c2725..492d3070b2 100644 --- a/lib/B/Deparse.t +++ b/lib/B/Deparse.t @@ -877,6 +877,13 @@ my $f = sub { +{[]}; } ; #### +# anonconst +# CONTEXT no warnings 'experimental::const_attr'; +my $f = sub : const { + 123; +} +; +#### # bug #43010 '!@$%'->(); #### |