xref: /linux/tools/build/feature/test-libbpf.c (revision e7b8153e2a4f0c9c8d1450aa7328d54ea64fe8b2)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <bpf/libbpf.h>
3 
4 int main(void)
5 {
6 	return bpf_object__open("test") ? 0 : -1;
7 }
8