Skip to content

Commit

Permalink
avoid unused declaration warning.
Browse files Browse the repository at this point in the history
(now passes on niecza)
  • Loading branch information
coke committed Nov 25, 2012
1 parent 47eec67 commit 5a39d8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/weird-errors.t
Expand Up @@ -29,7 +29,8 @@ is_run(

# RT #70922
is_run(
'class A { method postcircumfix:<{ }>() {} }; my &r = {;}; if 0 { if 0 { my $a } }',
'class A { method postcircumfix:<{ }>() {} }; my &r = {;}; if 0 { if 0 { my $a #OK not used' ~
"\n" ~ '} }',
{ status => 0, out => '', err => ''},
'presence of postcircumfix does not lead to redeclaration warnings',
);
Expand Down

0 comments on commit 5a39d8b

Please sign in to comment.