mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9 lines
255 B
Ruby
9 lines
255 B
Ruby
|
assert_normal_exit %q{
|
||
|
a1,a2,b1,b2=Array.new(4){""}
|
||
|
ObjectSpace.define_finalizer(b2,proc{})
|
||
|
ObjectSpace.define_finalizer(b1,proc{b1.inspect})
|
||
|
|
||
|
ObjectSpace.define_finalizer(a2,proc{a1.inspect})
|
||
|
ObjectSpace.define_finalizer(a1,proc{})
|
||
|
}, '[ruby-dev:35778]'
|