diff options
Diffstat (limited to 't/lib/warnings/op')
-rw-r--r-- | t/lib/warnings/op | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op index 9b20a8c256..387e620efa 100644 --- a/t/lib/warnings/op +++ b/t/lib/warnings/op @@ -130,10 +130,13 @@ __END__ use warnings 'misc' ; my $x ; my $x ; +my $y = my $y ; no warnings 'misc' ; my $x ; +my $y ; EXPECT "my" variable $x masks earlier declaration in same scope at - line 4. +"my" variable $y masks earlier declaration in same statement at - line 5. ######## # op.c use warnings 'closure' ; |