1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
3 #include <bpf/libbpf.h>
6 #include "test_core_extern.skel.h"
8 /* do nothing, just make sure we can link successfully */
10 int main(int argc
, char *argv
[])
12 struct test_core_extern
*skel
;
15 libbpf_set_print(NULL
);
18 bpf_prog_get_fd_by_id(0);
24 skel
= test_core_extern__open_and_load();
25 test_core_extern__destroy(skel
);
27 std::cout
<< "DONE!" << std::endl
;