Commit 8f8d9fd4 authored by Masamitsu MURASE's avatar Masamitsu MURASE

Add test for issue #750.

parent 0dd9a0fd
......@@ -332,6 +332,14 @@ assert('BS Block [ruby-dev:31160]') do
m {|(v,(*))|} == nil
end
assert('BS Block [issue #750]') do
def m(a, *b)
yield
end
args = [1, 2, 3]
m(*args){ 1 } == 1
end
assert('BS Block 31') do
def m()
yield
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment