summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-27 18:13:06 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-27 18:13:06 +0000
commitbe1c68caeb878f6822e9720687152b41dcc160a5 (patch)
treebead4a1c34f81a013e6a8edc038dd83a7aaa137d /bootstraptest
parent9b94dabe77d39e72f9694ba81c8d04111ea844ee (diff)
* bootstraptest/test_class.rb: add a test for [ruby-core:30843].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_class.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstraptest/test_class.rb b/bootstraptest/test_class.rb
index a7f6d4d..664dd2f 100644
--- a/bootstraptest/test_class.rb
+++ b/bootstraptest/test_class.rb
@@ -150,3 +150,10 @@ assert_match /::C\z/, %q{
Module.new{|m| c = class m::C; name; end}
c
}, '[ruby-dev:38456]'
+
+assert_normal_exit %q{
+ s = Symbol.dup
+ class << s
+ end
+ s.allocate.to_s
+}, '[ruby-core:30843]'