test: 增加 Demo23
This commit is contained in:
parent
c412d1194b
commit
f69dd85365
14
playground/Demo/Demo23/Main.snow
Normal file
14
playground/Demo/Demo23/Main.snow
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
module: Main
|
||||||
|
import: ModuleA
|
||||||
|
function: main
|
||||||
|
returns: void
|
||||||
|
body:
|
||||||
|
declare sum: byte = ModuleA.a
|
||||||
|
end body
|
||||||
|
end function
|
||||||
|
end module
|
||||||
|
|
||||||
|
module: ModuleA
|
||||||
|
globals:
|
||||||
|
declare const a: byte = 2b
|
||||||
|
end module
|
||||||
Loading…
x
Reference in New Issue
Block a user