summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-09 16:12:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-09 16:12:57 +0000
commit5f4af55c1412bad9c10ba37d5003a6ea0a8fa603 (patch)
treeab865250173acbe811025c13495aefd2729ad7a0 /bootstraptest
parent67b531af5f87fe2a4b1370b15289fc494f29bc7a (diff)
downloadruby-5f4af55c1412bad9c10ba37d5003a6ea0a8fa603.tar.gz
ruby-5f4af55c1412bad9c10ba37d5003a6ea0a8fa603.tar.xz
ruby-5f4af55c1412bad9c10ba37d5003a6ea0a8fa603.zip
* parse.y (dyna_pop_gen): pop dvars. [ruby-dev:39861]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_syntax.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb
index 2e8639b3f..619a4cbdb 100644
--- a/bootstraptest/test_syntax.rb
+++ b/bootstraptest/test_syntax.rb
@@ -877,3 +877,10 @@ assert_normal_exit %q{
end
end
}, bug2415
+
+assert_normal_exit %q{
+ a {
+ b {|c.d| }
+ e
+ }
+}, '[ruby-dev:39861]'