Permalink
Browse files

avoid unused declaration warning.

(now passes on niecza)
  • Loading branch information...
coke committed Nov 25, 2012
1 parent 47eec67 commit 5a39d8b480a863f88df6be25dee347350f9f9351
Showing with 2 additions and 1 deletion.
  1. +2 −1 integration/weird-errors.t
@@ -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',
);

0 comments on commit 5a39d8b

Please sign in to comment.