summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-dwarf_getcfi.c
blob: 50e7d7cb7bdf94fd9527c58997f44f52a4190a23 (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
#include <stdio.h>
#include <elfutils/libdw.h>

int main(void)
{
	Dwarf *dwarf = NULL;
	return dwarf_getcfi(dwarf) == NULL;
}