diff --git a/tests/failing_tests/var_rval.py b/tests/failing_tests/var_rval.py index e69de29..38d993e 100644 --- a/tests/failing_tests/var_rval.py +++ b/tests/failing_tests/var_rval.py @@ -0,0 +1,18 @@ +from pythonbpf import compile, bpf, section, bpfglobal +from ctypes import c_void_p, c_int64 + + +@bpf +@section("sometag1") +def sometag(ctx: c_void_p) -> c_int64: + a = 1 - 1 + return c_int64(a) + + +@bpf +@bpfglobal +def LICENSE() -> str: + return "GPL" + + +compile()