summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 03:47:12 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-12 03:47:12 +0000
commitf7cd6742f1b1fc94eab64b1d04e99f1de4a7a5ab (patch)
treeb51b1119a0e84e223a56f2b47f03fe8b260c3c76
parentf3f3f32a8541e80feafeedbd73cf37d83d469363 (diff)
downloadruby-f7cd6742f1b1fc94eab64b1d04e99f1de4a7a5ab.tar.gz
ruby-f7cd6742f1b1fc94eab64b1d04e99f1de4a7a5ab.tar.xz
ruby-f7cd6742f1b1fc94eab64b1d04e99f1de4a7a5ab.zip
add a test for [ruby-dev:34579].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--bootstraptest/test_knownbug.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 44f3e27a8..bccb14a0e 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -232,3 +232,13 @@ assert_equal 'ok', %q{
:ng
}.call
}, '[ruby-dev:34646]'
+
+assert_equal 'ok', %q{
+ begin
+ 0.instance_eval { def m() :m end }
+ 1.m
+ :ng
+ rescue Exception
+ :ok
+ end
+}, '[ruby-dev:34579]'