diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-02 16:18:26 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-02 16:18:26 +0000 |
commit | 5fbb3a819cf06197c27fe3cb7b16b825802a0d27 (patch) | |
tree | f9df6e906e1a9d1507fac5e3f7fe39a55362658c /bootstraptest | |
parent | 96b0b1cf82bf3df9d44ba08fc314d19ee0e82b34 (diff) | |
download | ruby-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.rb | 7 |
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 +} |