From 853999fb20f49b4f519d39e9ee4a29f2bbe554bf Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 13 Jul 2007 03:44:53 +0000 Subject: add test for [ruby-dev:31153]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_block.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bootstraptest/test_block.rb') diff --git a/bootstraptest/test_block.rb b/bootstraptest/test_block.rb index 57bdb6e57f..602909a9b2 100644 --- a/bootstraptest/test_block.rb +++ b/bootstraptest/test_block.rb @@ -382,3 +382,12 @@ assert_equal 'nil', %q{ m {|(v,(*))|}.inspect } + +# [ruby-dev:31153] +assert_equal 'nil', %q{ + def m() + yield + end + m {|(*,a,b)|}.inspect +} + -- cgit v1.2.3