1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add test for [ruby-dev:32567].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-13 02:37:27 +00:00
parent cf8c1e49dd
commit b21aa43b4c

View file

@ -159,3 +159,13 @@ assert_equal 'true', %q{
}, '[ruby-dev:32452]'
assert_normal_exit %q{ // =~ :a }
assert_equal '[nil, []]', %q{
def m() yield nil,[] end
l = lambda {|*v| v}
GC.stress=true
r = m(&l)
GC.stress=false
r.inspect
}, '[ruby-dev:32567]'