add a test for [ruby-dev:32054].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b314d3e999
commit
a0e3752870
@ -42,3 +42,18 @@ assert_normal_exit %q{
|
|||||||
}
|
}
|
||||||
}, '[ruby-dev:31985]'
|
}, '[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]'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user