mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-07 13:54:33 +00:00
9 lines
218 B
D
9 lines
218 B
D
// { dg-shouldfail "Memory allocation failed" }
|
|
// { dg-output "core.exception.OutOfMemoryError@.*: Memory allocation failed" }
|
|
void main()
|
|
{
|
|
void[] buffer;
|
|
buffer.length = 0;
|
|
buffer.length = size_t.max;
|
|
}
|