From 8739bb305daac9fdf134e5cf16d46b89619b484e Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 8 Jul 2011 04:57:27 +0000 Subject: [PATCH] add test for [ruby-dev:44049]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_objectspace.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstraptest/test_objectspace.rb b/bootstraptest/test_objectspace.rb index 486d5aff73..a84b5b6f55 100644 --- a/bootstraptest/test_objectspace.rb +++ b/bootstraptest/test_objectspace.rb @@ -32,3 +32,9 @@ assert_normal_exit %q{ end } }, '[ruby-dev:31985]' + +assert_normal_exit %q{ + ObjectSpace.define_finalizer("") do + Mutex.new.lock + end +}, '[ruby-dev:44049]'