summaryrefslogtreecommitdiff
path: root/examples/test1.gft
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2024-08-06 02:24:04 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2024-08-06 02:24:04 -0500
commit6a7467264b506e5812b2d9a8cd55fa307f2b5a10 (patch)
tree97c136f9f65a575d940f647b7c2130b3454fa88d /examples/test1.gft
parentf8542ab4c65d64e7713063460d750901e7b0362d (diff)
downloadcalico-6a7467264b506e5812b2d9a8cd55fa307f2b5a10.tar.gz
ok so i messed up
Diffstat (limited to 'examples/test1.gft')
-rw-r--r--examples/test1.gft7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/test1.gft b/examples/test1.gft
index 3ae0040..1f4ac3b 100644
--- a/examples/test1.gft
+++ b/examples/test1.gft
@@ -1,4 +1,3 @@
-const x = 1;
-var y = 4;
-y = 7;
-exit y;
+fn main() -> i32 {
+ return 7;
+}