diff options
Diffstat (limited to 'tools/testing/selftests/bpf/sample_ret0.c')
-rw-r--r-- | tools/testing/selftests/bpf/sample_ret0.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/sample_ret0.c b/tools/testing/selftests/bpf/sample_ret0.c new file mode 100644 index 000000000000..fec99750d6ea --- /dev/null +++ b/tools/testing/selftests/bpf/sample_ret0.c | |||
@@ -0,0 +1,7 @@ | |||
1 | /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ | ||
2 | |||
3 | /* Sample program which should always load for testing control paths. */ | ||
4 | int func() | ||
5 | { | ||
6 | return 0; | ||
7 | } | ||