mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add test for [ruby-dev:31818].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f610ff5a39
commit
9b268cdbca
1 changed files with 8 additions and 0 deletions
|
@ -24,3 +24,11 @@ assert_equal 'ok', %q{
|
|||
:ok
|
||||
}, '[ruby-dev:31816]'
|
||||
|
||||
assert_equal 'ok', %q{
|
||||
Process.setrlimit(Process::RLIMIT_STACK, 1024*1024)
|
||||
class C
|
||||
attr "a" * (2*1024*1024)
|
||||
end
|
||||
:ok
|
||||
}, '[ruby-dev:31818]'
|
||||
|
||||
|
|
Loading…
Reference in a new issue