diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-08-07 14:40:00 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-08-07 14:43:49 -0700 |
commit | c1f5e7dd19e71cd3607572bb957def618a33519a (patch) | |
tree | e1bebafbf9e88eb3b260d048d72128b9f27dfcbc /tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c | |
parent | selftests/bpf: add CO-RE relocs ptr-as-array tests (diff) | |
download | linux-dev-c1f5e7dd19e71cd3607572bb957def618a33519a.tar.xz linux-dev-c1f5e7dd19e71cd3607572bb957def618a33519a.zip |
selftests/bpf: add CO-RE relocs ints tests
Add various tests validating handling compatible/incompatible integer
types.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c b/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c new file mode 100644 index 000000000000..9a3dd2099c0f --- /dev/null +++ b/tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c @@ -0,0 +1,3 @@ +#include "core_reloc_types.h" + +void f(struct core_reloc_ints___err_wrong_sz_64 x) {} |