mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 05:37:06 +00:00
DARWIN branch, along with a few other minor things. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9197
35 lines
667 B
C
35 lines
667 B
C
#include <stdlib.h>
|
|
|
|
// In this test, the size of the insignificant nodes is greater than the
|
|
// size of two of the significant nodes. This is quite common in big
|
|
// programs, but not so common in small tests, so we test for it here.
|
|
int main(void)
|
|
{
|
|
malloc(16000); // all sizes are divisible by 16 -- no slop
|
|
malloc(240);
|
|
malloc(192);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
malloc(16);
|
|
|
|
|
|
return 0;
|
|
}
|