mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 13:04:22 +00:00
This prevents early collection of the array. The GC doesn't see the array on the stack when Ruby is compiled with optimizations enabled Thanks @jhaberman for the test case [ruby-core:105099] [Bug #18140]
3 lines
77 B
Ruby
3 lines
77 B
Ruby
# frozen_string_literal: false
|
|
create_makefile("-test-/array/to_ary_concat")
|