From d0af73f66dcc0720e993374d9de8cb1a43fde9f4 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 2 May 2008 16:29:41 +0000 Subject: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_knownbug.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index db5af81b9..1db140119 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 +} + -- cgit