summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_gc.rb')
-rw-r--r--test/ruby/test_gc.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index d0b4e3df77..ed854bde65 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -26,5 +26,9 @@ class TestGc < Test::Unit::TestCase
}
GC.start
assert true # reach here or dumps core
+ 100000.times {
+ Time.now
+ }
+ assert true, '[ruby-dev:39201]' # reach here or dumps core
end
end