1// SPDX-License-Identifier: GPL-2.0
2
3#include <linux/bpf.h>
4#include <bpf/bpf_helpers.h>
5
6char _license[] SEC("license") = "GPL";
7
8/* This is an unused struct_ops program, it lacks corresponding
9 * struct_ops map, which provides attachment information.
10 * W/o additional configuration attempt to load such
11 * BPF object file would fail.
12 */
13SEC("struct_ops/foo")
14void foo(void) {}
15