From f69dd853659eef83363937fb75ef48c4780c8476 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 26 Aug 2025 14:40:45 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A2=9E=E5=8A=A0=20Demo23?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/Demo/Demo23/Main.snow | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 playground/Demo/Demo23/Main.snow diff --git a/playground/Demo/Demo23/Main.snow b/playground/Demo/Demo23/Main.snow new file mode 100644 index 0000000..dbd6d1e --- /dev/null +++ b/playground/Demo/Demo23/Main.snow @@ -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