From: Rafael Garcia-Suarez Date: Wed, 24 Apr 2002 21:12:40 +0000 (+0000) Subject: Add an untested warning variant. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6459ac829bd1a96f973e52e8b1d80e6d53059e69;p=p5sagit%2Fp5-mst-13.2.git Add an untested warning variant. p4raw-id: //depot/perl@16148 --- diff --git a/t/lib/warnings/op b/t/lib/warnings/op index 9b20a8c..387e620 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' ;