1
0
mirror of https://github.com/ioacademy-jikim/debugging synced 2025-06-09 00:46:12 +00:00
2015-12-13 22:34:58 +09:00

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;
}