repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Limit dg-xfail-run-if for *-*-hpux11.[012]* to -O0
[official-gcc.git]
/
libphobos
/
testsuite
/
libphobos.allocations
/
overflow_from_existing.d
blob
c41b29fbde76b461c45c7aa7a80c20d07a383585
1
// { dg-shouldfail "Memory allocation failed" }
2
// { dg-output "core.exception.OutOfMemoryError@.*: Memory allocation failed" }
3
void
main
()
4
{
5
void
[]
buffer
;
6
buffer
.
length
=
1
;
7
buffer
.
length
=
size_t
.
max
;
8
}