summaryrefslogtreecommitdiff
path: root/t/lib/warnings/pad
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/warnings/pad')
-rw-r--r--t/lib/warnings/pad15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/lib/warnings/pad b/t/lib/warnings/pad
index bf5c367fc9..54d72cdef9 100644
--- a/t/lib/warnings/pad
+++ b/t/lib/warnings/pad
@@ -312,3 +312,18 @@ use strict;
use warnings;
our $x unless $x;
EXPECT
+########
+use warnings 'misc';
+our $qunckkk;
+our $_;
+package clank_est;
+our $qunckkk;
+our $_;
+no warnings 'misc';
+our $ouch;
+our $_;
+package whack;
+our $ouch;
+our $_;
+EXPECT
+"our" variable $_ redeclared at - line 6.