test:增加 Demo10
This commit is contained in:
parent
7df0cd8027
commit
3faa561f1c
13
playground/Demo10/Main.snow
Normal file
13
playground/Demo10/Main.snow
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
function: main
|
||||||
|
return_type: int
|
||||||
|
body:
|
||||||
|
declare res: boolean = 8.1 == 7.1
|
||||||
|
if res then
|
||||||
|
return 131
|
||||||
|
else
|
||||||
|
return 666
|
||||||
|
end if
|
||||||
|
|
||||||
|
return 65537
|
||||||
|
end body
|
||||||
|
end function
|
||||||
Loading…
x
Reference in New Issue
Block a user