summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-02 16:29:41 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-02 16:29:41 +0000
commit5d49e1b3094f5e5131408d0d8fa0a271e8b50278 (patch)
treeb0a361c451a08cd65dc1353c01c882b96435ec34 /bootstraptest
parent5fbb3a819cf06197c27fe3cb7b16b825802a0d27 (diff)
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index db5af81..1db1401 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -189,10 +189,14 @@ assert_normal_exit %q{
end
}, '[ruby-dev:34536]'
-
assert_normal_exit %q{
begin
Struct.new(0)
rescue
end
}
+
+assert_normal_exit %q{
+ defined? C && 0
+}
+