diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-01 15:18:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-01 15:18:42 +0000 |
commit | b82b4cc8a83509260edea78c7e8ca9d199a3742e (patch) | |
tree | ebe3ff9e4f21db9d680449d3b084942cac60cb14 /test | |
parent | 222e99e7de865a9673640de9673ed02501517974 (diff) | |
download | ruby-b82b4cc8a83509260edea78c7e8ca9d199a3742e.tar.gz |
proc.c: fix symbol proc mark
* proc.c (proc_mark): block.ep of Proc from Symbol is now NULL.
[ruby-core:70961] [Bug #11560]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_symbol.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index b62e7538c8..bf2c4adbc9 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -122,6 +122,11 @@ class TestSymbol < Test::Unit::TestCase GC.stress = true true.tap(&:itself) end; + + assert_ruby_status([], <<-"end;", timeout: 0.1) + GC.stress = true + 100.times {Proc.new(&:itself)} + end; end def test_call |