add test for [ruby-dev:31160].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
113a709cce
commit
4bb5091496
|
@ -374,3 +374,11 @@ assert_equal 'nil', %q{
|
||||||
m{|&b| b}.inspect
|
m{|&b| b}.inspect
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# [ruby-dev:31160]
|
||||||
|
assert_equal 'nil', %q{
|
||||||
|
def m()
|
||||||
|
yield
|
||||||
|
end
|
||||||
|
m {|(v,(*))|}.inspect
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue