test: 修改 Demo22
This commit is contained in:
parent
f8a331809f
commit
1f8176d15e
@ -1,12 +1,10 @@
|
|||||||
module: Main
|
module: Main
|
||||||
import: os
|
import: ModuleA,os
|
||||||
globals:
|
|
||||||
declare sum: int
|
|
||||||
function: main
|
function: main
|
||||||
returns: void
|
returns: void
|
||||||
body:
|
body:
|
||||||
sum = ModuleA.a
|
declare sum: int = ModuleA.a+2
|
||||||
os.print(sum)
|
os.print(sum+1)
|
||||||
end body
|
end body
|
||||||
end function
|
end function
|
||||||
end module
|
end module
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user