From 41f68c38e85a91b3bb5522b89f989fe2ca64f0a6 Mon Sep 17 00:00:00 2001 From: Moon Flower Date: Sat, 22 Feb 2025 18:10:15 +0330 Subject: woohoo --- main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.c (limited to 'main.c') diff --git a/main.c b/main.c new file mode 100644 index 0000000..0442b92 --- /dev/null +++ b/main.c @@ -0,0 +1,14 @@ +// This is the test unit, not the actual code. + +#include "moonshine.h" + +int main() { + array(int) test = new (int); + + push(test, 2); + for(int i = 45; i > 7; i--) push(test, i % 3); + + print("Wowie: ", get(test, 30)); + + return 0; +} -- cgit v1.2.3