xref: /linux/tools/build/feature/test-libelf-getshdrstrndx.c (revision 2a171788ba7bb61995e98e8163204fc7880f63b2)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <libelf.h>
3 
4 int main(void)
5 {
6 	size_t dst;
7 
8 	return elf_getshdrstrndx(0, &dst);
9 }
10