summaryrefslogtreecommitdiff
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
commita0e3752870c2159c56c52ec971a5ed7f42649701 (patch)
tree37deb755f6cea1130318be4c6594357e64bc9944 /bootstraptest
parentb314d3e999b3ac3c99403c57a66a4c5bad32e654 (diff)
add a test for [ruby-dev:32054].
git-svn-id: svn+ssh://ci.ruby-lang.org/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 8ae5dc741c..330e1249c7 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]'
+