From 2dca886a0702e51ff06926bd94c36e6983cc450d Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 23 Apr 2014 20:59:03 +0000 Subject: * parse.y (dsym_node_gen): like r45492, call rb_gc_resurrect(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_symbol.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/ruby') diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb index 70358ea1bc..f24bb81583 100644 --- a/test/ruby/test_symbol.rb +++ b/test/ruby/test_symbol.rb @@ -221,4 +221,10 @@ class TestSymbol < Test::Unit::TestCase assert_equal sym, Symbol.find(str) end; end + + def test_symol_gc_1 + assert_normal_exit('".".intern;GC.start(immediate_sweep:false);eval %[GC.start;:"."]', + '', + child_env: '--disable-gems') + end end -- cgit v1.2.3