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.gc
/
recoverfree.d
blob
59c3b4ab597b95e826e46861ab2130b05786a486
1
// https://issues.dlang.org/show_bug.cgi?id=20438
2
import
core
.
stdc
.
stdio
;
3
import
core
.
memory
;
4
5
void
main
()
6
{
7
auto
used0
=
GC
.
stats
.
usedSize
;
8
void
*
z
=
GC
.
malloc
(
100
);
9
GC
.
free
(
z
);
10
GC
.
collect
();
11
auto
used1
=
GC
.
stats
.
usedSize
;
12
used1
<=
used0 ||
assert
(
false
);
13
}