test: 增加例子代码

This commit is contained in:
Luke 2025-06-11 10:29:09 +08:00
parent c09c8845fb
commit fe1adb0a21

View File

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