1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_jit.rb: suppress unused variable warning

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-07-24 11:54:15 +00:00
parent 004f55212d
commit a67f47c4cc

View file

@ -679,7 +679,7 @@ class TestJIT < Test::Unit::TestCase
assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: "nil\nnil\n", success_count: 1) assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: "nil\nnil\n", success_count: 1)
begin; begin;
2.times do 2.times do
a, b = nil a, _ = nil
p a p a
end end
end; end;