Move binops1 to tests/passing

This commit is contained in:
Pragyansh Chaturvedi
2025-10-03 17:13:02 +05:30
parent a8b3f4f86c
commit cc626c38f7
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ from ctypes import c_void_p, c_int64
@bpf
@section("tracepoint/syscalls/sys_enter_sync")
def sometag(ctx: c_void_p) -> c_int64:
a = 1 + 2 + 1
a = 1 + 2 + 1 + 12 + 13
print(f"{a}")
return c_int64(0)

View File

@ -3,11 +3,12 @@ from ctypes import c_void_p, c_int64
@bpf
@section("sometag1")
@section("tracepoint/syscalls/sys_enter_sync")
def sometag(ctx: c_void_p) -> c_int64:
b = 1 + 2
a = 1 + b
return c_int64(a)
print(f"{a}")
return c_int64(0)
@bpf