test: 修改 Demo20
This commit is contained in:
parent
f61cfa5638
commit
cedc77cbc6
11
playground/Demo/Demo20/Main.snow
Normal file
11
playground/Demo/Demo20/Main.snow
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
module: Main
|
||||||
|
import: os
|
||||||
|
function: main
|
||||||
|
return_type: double
|
||||||
|
body:
|
||||||
|
declare n: double[] = [10.0]
|
||||||
|
|
||||||
|
return n[0] + 1.0
|
||||||
|
end body
|
||||||
|
end function
|
||||||
|
end module
|
||||||
Loading…
x
Reference in New Issue
Block a user