aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-05 05:35:57 +0200
committerlemon <lsof@mailbox.org>2022-08-05 05:35:57 +0200
commitfc29f3f2b0c3a7c5ef1c75d910cf0815d2edbba2 (patch)
treeeef251348f3e1b3a30a3a6296fa05e36971f3140 /bootstrap/test.cff
parentb0d95956fcade40a2d608ccea79e2e989f97b72f (diff)
better diagnostics
Diffstat (limited to 'bootstrap/test.cff')
-rw-r--r--bootstrap/test.cff4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff
index f6deb67..966176f 100644
--- a/bootstrap/test.cff
+++ b/bootstrap/test.cff
@@ -17,7 +17,7 @@ enum Color {
static xs *void = {};
-extern fn main (argc int, argv **u8) void {
+extern fn main (argc int, argv **u8) int {
extern fn printf(fmt *const u8, ...) int;
let colors [3]Color = { :Red, :Green, :Blue } ;
@@ -29,5 +29,5 @@ extern fn main (argc int, argv **u8) void {
printf("%d\n", is[i]);
}
- return;
+ return 0;
}