xref: /linux/tools/build/feature/test-dwarf_getcfi.c (revision 42ac0be18bfa09c03f52244f7c3e15c89b38532f)
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