From 6212deee5125a481eaffd382c0f1dac550d00f92 Mon Sep 17 00:00:00 2001 From: Scarlett Date: Mon, 5 May 2025 00:51:06 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/programs/test/helloworld.alpha | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/programs/test/helloworld.alpha diff --git a/tests/programs/test/helloworld.alpha b/tests/programs/test/helloworld.alpha new file mode 100644 index 0000000..109cae8 --- /dev/null +++ b/tests/programs/test/helloworld.alpha @@ -0,0 +1,11 @@ +#include "std.alpha" + +entry (arg) := { + [string: str; character: ch; integer: result] + + ch := 'h'; + str := "Hello World!"; + result := printCharacter(ch); + + return 0; +} \ No newline at end of file