xref: /linux/tools/build/feature/test-libelf.c (revision e22da4685013922ade8e7b5e727ac6804fe5b51e)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <libelf.h>
3 
4 int main(void)
5 {
6 	Elf *elf = elf_begin(0, ELF_C_READ, 0);
7 
8 	return !!elf;
9 }
10