summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-14 15:36:24 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-14 15:36:24 +0000
commit121641029e98ae954614b9db37d2702370c02d20 (patch)
tree37deb755f6cea1130318be4c6594357e64bc9944 /bootstraptest
parent9515f9de08ee76e08bf05947f1f6e6cafbffeebc (diff)
downloadruby-121641029e98ae954614b9db37d2702370c02d20.tar.gz
ruby-121641029e98ae954614b9db37d2702370c02d20.tar.xz
ruby-121641029e98ae954614b9db37d2702370c02d20.zip
add a test for [ruby-dev:32054].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 8ae5dc741..330e1249c 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -42,3 +42,18 @@ assert_normal_exit %q{
}
}, '[ruby-dev:31985]'
+assert_normal_exit %q{
+class C
+ def initialize(str)
+ @str = str
+ end
+ def _dump(limit)
+ @str
+ end
+ def C._load(s)
+ C.new(s)
+ end
+end
+Marshal.load("\004\bu:\006C\003\377\377\377a")
+}, '[ruby-dev:32054]'
+