summaryrefslogtreecommitdiffstats
path: root/tools/build/feature/test-libbpf.c
blob: a508756cf4cca2b3a781a43787d27ca092c410c3 (plain)
1
2
3
4
5
6
7
// SPDX-License-Identifier: GPL-2.0
#include <bpf/libbpf.h>

int main(void)
{
	return bpf_object__open("test") ? 0 : -1;
}