xref: /linux/tools/build/feature/test-dwarf_getcfi.c (revision 03c11eb3b16dc0058589751dfd91f254be2be613)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <stdio.h>
3 #include <elfutils/libdw.h>
4 
5 int main(void)
6 {
7 	Dwarf *dwarf = NULL;
8 	return dwarf_getcfi(dwarf) == NULL;
9 }
10