xref: /linux/tools/build/feature/test-libelf-getshdrstrndx.c (revision 70a02f840c5113cd9255ce4c1b1848bb48b0bd21)
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