memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB
[valgrind.git] / memcheck / tests / bug472219.c
blobcb9fefe4cb79623926733a3420d26b026319dcde
1 #define _GNU_SOURCE /* for ppoll */
2 #include <poll.h>
3 #include <stdlib.h>
4 #include "../../config.h"
6 int main()
8 int uninit;
9 struct pollfd fds[] = {{-1, uninit, 0}, {2, POLLIN, 0}};
11 poll(fds, 2, 100);
13 #if defined(HAVE_PPOLL)
14 struct timespec timeout = {0, 1e8};
15 ppoll(fds, 2, &timeout, NULL);
16 #endif