summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-22 09:48:05 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-22 09:48:05 +0000
commite23aac09ca5418997721c75419336f64ef5efe83 (patch)
treedd45543f8997bda7736300647510a94b5121fc0b /bootstraptest
parent642ca17bdf01376ec1018f7a39fb84123682e370 (diff)
merges r23431 from trunk into ruby_1_9_1.
-- * variable.c (rb_autoload_load): checks if iv_tbl is valid. [ruby-dev:38456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_class.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_class.rb b/bootstraptest/test_class.rb
index ad2844106f..a7f6d4df47 100644
--- a/bootstraptest/test_class.rb
+++ b/bootstraptest/test_class.rb
@@ -144,3 +144,9 @@ assert_equal '3', %q{
}
$i
}
+
+assert_match /::C\z/, %q{
+ c = nil
+ Module.new{|m| c = class m::C; name; end}
+ c
+}, '[ruby-dev:38456]'