add binops1.py failing test

This commit is contained in:
2025-09-30 23:53:11 +05:30
parent 7d91f88c4d
commit 430617de7e

View File

@ -0,0 +1,16 @@
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:
b = 1 + 2
a = 1 + b
return c_int64(a)
@bpf
@bpfglobal
def LICENSE() -> str:
return "GPL"
compile()