test: 增加Demo7
This commit is contained in:
parent
a9819b769a
commit
852c6c0924
12
playground/Demo7/Main.snow
Normal file
12
playground/Demo7/Main.snow
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
module: Main
|
||||||
|
function: main
|
||||||
|
parameter:
|
||||||
|
return_type: boolean
|
||||||
|
body:
|
||||||
|
declare b1 :boolean = true
|
||||||
|
declare b2 :boolean = !b1
|
||||||
|
|
||||||
|
return b2
|
||||||
|
end body
|
||||||
|
end function
|
||||||
|
end module
|
||||||
Loading…
x
Reference in New Issue
Block a user