diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-15 06:15:14 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-15 06:15:14 +0000 |
| commit | 6238b1e2c335e3e855a7826ec942ee00c5b8c159 (patch) | |
| tree | 29bf67599b90336e835b9a5ee8d111de41068a63 /bootstraptest | |
| parent | f526c55fc3ae8b09aa6e03966bfcccd09fc5ba08 (diff) | |
| download | ruby-6238b1e2c335e3e855a7826ec942ee00c5b8c159.tar.gz ruby-6238b1e2c335e3e855a7826ec942ee00c5b8c159.tar.xz ruby-6238b1e2c335e3e855a7826ec942ee00c5b8c159.zip | |
* variable.c (rb_autoload_load): checks if iv_tbl is valid.
[ruby-dev:38456]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
| -rw-r--r-- | bootstraptest/test_class.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_class.rb b/bootstraptest/test_class.rb index ad2844106..a7f6d4df4 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]' |
