summaryrefslogtreecommitdiff
path: root/t/op/gv.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/gv.t')
-rw-r--r--t/op/gv.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/op/gv.t b/t/op/gv.t
index 798cc731e3..e2eae33099 100644
--- a/t/op/gv.t
+++ b/t/op/gv.t
@@ -192,7 +192,10 @@ is (*{*x{GLOB}}, "*main::STDOUT");
my $a = "SYM000";
ok(!defined *{$a});
- ok(!defined @{$a});
+ {
+ no warnings 'deprecated';
+ ok(!defined @{$a});
+ }
ok(!defined *{$a});
{