drd/tests/swapcontext: Improve the portability of this test further
[valgrind.git] / none / tests / linux / brk-overflow1.c
blob187751aeddd237435d70ff243a6dd500e030d9de
1 #include <unistd.h>
3 volatile void *ptr;
5 /* The default size of the brk segment is 8 MB.
6 Request more than that in a single request. */
7 int main()
9 ptr = sbrk(9*1024*1024);
11 return 0;