summaryrefslogtreecommitdiff
path: root/bootstraptest/test_objectspace.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_objectspace.rb')
-rw-r--r--bootstraptest/test_objectspace.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_objectspace.rb b/bootstraptest/test_objectspace.rb
index a84b5b6f55..862a94e376 100644
--- a/bootstraptest/test_objectspace.rb
+++ b/bootstraptest/test_objectspace.rb
@@ -38,3 +38,9 @@ assert_normal_exit %q{
Mutex.new.lock
end
}, '[ruby-dev:44049]'
+
+assert_normal_exit %q{
+ ObjectSpace.define_finalizer("") do
+ Thread.new {}
+ end
+}, '[ruby-core:37858]'