From cedc77cbc6b84fa535479c053444de3d03b0e21a Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 2 Aug 2025 12:32:33 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E4=BF=AE=E6=94=B9=20Demo20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/Demo/Demo20/Main.snow | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 playground/Demo/Demo20/Main.snow diff --git a/playground/Demo/Demo20/Main.snow b/playground/Demo/Demo20/Main.snow new file mode 100644 index 0000000..94dd6ea --- /dev/null +++ b/playground/Demo/Demo20/Main.snow @@ -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