(root)/
gcc-13.2.0/
libphobos/
testsuite/
libphobos.allocations/
overflow_from_existing.d
// { dg-shouldfail "Memory allocation failed" }
// { dg-output "core.exception.OutOfMemoryError@.*: Memory allocation failed" }
void main()
{
    void[] buffer;
    buffer.length = 1;
    buffer.length = size_t.max;
}