blob: 63acc08d2e060805d52e6b12b6c6a25c8c6fdfa3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stdlib.h>
#include <stdio.h>
int main()
{
void *p;
char *c;
for (int i = 0;; ++i) {
p = malloc(409600000);
printf("%d %p\n", i, p);
c = (char *)p;
c = 'a';
}
for (;;) {
}
}
|