Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fudge return.t for niecza
  • Loading branch information
moritz committed Mar 1, 2011
1 parent b8687da commit 9944532
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S04-statements/return.t
Expand Up @@ -46,6 +46,7 @@ is( try { sub foo { my $x = 1; while $x-- { return 24; }; return 42; }; foo() },
eval_dies_ok('do {return 5}', 'cannot return out of a do block');
}

#?niecza skip 'parcel stringification'
{
# In an ancient version of pugs the sub below didn't return anything
sub list_return { return (42, 1) }
Expand Down

0 comments on commit 9944532

Please sign in to comment.