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