xref: /linux/tools/build/feature/test-libelf.c (revision 82c944d05b1a24c76948ee9d6bb1d7de1ebb8b3a)
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 (long)elf;
9 }
10