aboutsummaryrefslogtreecommitdiffstats
path: root/malloc.cc
blob: 18714c2b90e2f19b6cd2fedfc6f595b30cbbd2d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * Copying and distribution of this file, with or without modification,
 * are permitted in any medium without royalty provided the copyright
 * notice and this notice are preserved.  This file is offered as-is,
 * without any warranty.
 */
#include <cstdlib>


int
main(void)
{
	char *a;
	size_t i;

	for (i = 0; i < 40000000UL; i++)
		a = (char *)malloc(16);

	return 0;
}