diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-02 16:35:38 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-02 16:35:38 +0000 |
| commit | 5e4dc946afd3bbdba5a6b9bd6ad9e163491844e6 (patch) | |
| tree | 03481021c67011247fb73044c0d6c9d9743d3411 | |
| parent | d0af73f66dcc0720e993374d9de8cb1a43fde9f4 (diff) | |
| download | ruby-5e4dc946afd3bbdba5a6b9bd6ad9e163491844e6.tar.gz ruby-5e4dc946afd3bbdba5a6b9bd6ad9e163491844e6.tar.xz ruby-5e4dc946afd3bbdba5a6b9bd6ad9e163491844e6.zip | |
add a test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 1db140119..8e508da45 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 +} + |
