* parse.y (symbols_i): like r45492, call rb_gc_resurrect().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ktsj 2014-04-29 01:25:36 +00:00
parent 7973883c3a
commit 0f51db6a1e
3 changed files with 14 additions and 2 deletions

View file

@ -232,5 +232,9 @@ class TestSymbol < Test::Unit::TestCase
assert_normal_exit('".".intern;GC.start(immediate_sweep:false);eval %[GC.start;%i"."]',
'',
child_env: '--disable-gems')
assert_normal_exit('tap{".".intern};GC.start(immediate_sweep:false);' +
'eval %[syms=Symbol.all_symbols;GC.start;syms.each(&:to_sym)]',
'',
child_env: '--disable-gems')
end
end