summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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;
+}