From e5248cfd79f61f9bb73bd755632aa28d8a1b97f1 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 2 May 2008 16:35:38 +0000 Subject: [PATCH] add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_knownbug.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 1db1401199..8e508da451 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -200,3 +200,12 @@ assert_normal_exit %q{ defined? C && 0 } +assert_normal_exit %q{ + class C + def m + defined?(super()) + end + end + C.new.m +} +