summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-libelf-mmap.c
blob: 564427d7ef18d09a650f8cdc7cb21c09746e3d50 (plain)
1
2
3
4
5
6
7
8
#include <libelf.h>

int main(void)
{
	Elf *elf = elf_begin(0, ELF_C_READ_MMAP, 0);

	return (long)elf;
}
OpenPOWER on IntegriCloud