summaryrefslogtreecommitdiff
path: root/code/main.felan
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-07 20:47:10 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-07 20:47:10 +0330
commitc2939352858f8471fb69ae629948a259552231bc (patch)
tree6f5ebe0fccb5c407ceac8aecc21f589c4b992110 /code/main.felan
parentec346278c8f5155d7c044a26415cd4489d71a0af (diff)
add comptime global
Diffstat (limited to 'code/main.felan')
-rw-r--r--code/main.felan4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/main.felan b/code/main.felan
index f1e224c..d9b9090 100644
--- a/code/main.felan
+++ b/code/main.felan
@@ -32,3 +32,7 @@ main :: () -> void {
print_u64 (if array_int == array_int1 1 else 0);
print_u64 (if array_int == array_int2 1 else 0);
};
+
+comptime {
+ main();
+};