summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-02 16:18:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-02 16:18:26 +0000
commit5fbb3a819cf06197c27fe3cb7b16b825802a0d27 (patch)
treef9df6e906e1a9d1507fac5e3f7fe39a55362658c /bootstraptest
parent96b0b1cf82bf3df9d44ba08fc314d19ee0e82b34 (diff)
downloadruby-5fbb3a819cf06197c27fe3cb7b16b825802a0d27.tar.gz
add test for Struct.new(0).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index f85b7f31b7..db5af81b96 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -189,3 +189,10 @@ assert_normal_exit %q{
end
}, '[ruby-dev:34536]'
+
+assert_normal_exit %q{
+ begin
+ Struct.new(0)
+ rescue
+ end
+}