diff options
Diffstat (limited to 'config.tests/unix/mremap/mremap.cpp')
-rw-r--r-- | config.tests/unix/mremap/mremap.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config.tests/unix/mremap/mremap.cpp b/config.tests/unix/mremap/mremap.cpp new file mode 100644 index 0000000..1a2ada1 --- /dev/null +++ b/config.tests/unix/mremap/mremap.cpp @@ -0,0 +1,10 @@ +#include <unistd.h> +#include <sys/mman.h> + +int main(int, char **) +{ + (void) ::mremap(static_cast<void *>(0), size_t(0), size_t(42), MREMAP_MAYMOVE); + + return 0; +} + |