Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/cris/c/mmap8.c

10 lines
290 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
/* Check that mmapping 0 using MAP_FIXED works, both with/without
there being previously mmapped contents.
#progos: linux
*/
#define MMAP_FLAGS1 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED
#define NO_MUNMAP
#define MMAP_SIZE2 8192
#define MMAP_TEST_BAD (a != b || a != 0)
#include "mmap5.c"