blob: f910d37fbe859485bbcc6a4e49d1808ecb1a4ba6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
##
# Codegen tests
assert('peephole optimization does not eliminate move whose result is reused') do
assert_raise LocalJumpError do
def method
yield
end
method(&a &&= 0)
end
end
|