diff options
Diffstat (limited to 'bootstraptest/test_block.rb')
-rw-r--r-- | bootstraptest/test_block.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstraptest/test_block.rb b/bootstraptest/test_block.rb index cdfd3e4407..57bdb6e57f 100644 --- a/bootstraptest/test_block.rb +++ b/bootstraptest/test_block.rb @@ -374,3 +374,11 @@ assert_equal 'nil', %q{ m{|&b| b}.inspect } +# [ruby-dev:31160] +assert_equal 'nil', %q{ + def m() + yield + end + m {|(v,(*))|}.inspect +} + |