test: 更新 Bug1 测试用例

This commit is contained in:
Luke 2025-07-10 11:45:37 +08:00
parent e1f36d9689
commit 7f074cb798

View File

@ -1,17 +1,21 @@
module: Main module: Main
function: main function: main
parameter:
return_type: int return_type: int
body: body:
declare n1: int =1 foo()
declare n2: int =2
declare n3: int =1 return 0
if n1 ==1 then end body
if n2 ==2 then end function
n3 =3
end if function: foo
end if return_type: int
return n3 body:
if false then
return 1
end if
return 0
end body end body
end function end function
end module end module