test: 修改 Demo15 中的打印函数

This commit is contained in:
Luke 2025-07-31 12:44:01 +08:00
parent be8e57ef60
commit 8e26b57cde

View File

@ -1,13 +1,20 @@
module: Main module: Main
import: os import: os
globals: globals:
declare num1:int=10
declare num2:int=10 declare num2:int=10
function: main function: main
return_type: void return_type: void
body: body:
declare num1:int=11 declare num1:int=11
print(num1+num2) os.print(num1+num2+abc())
end body end body
end function end function
function: abc
return_type: int
body:
return 1
end body
end function
end module end module