aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test.cff
diff options
context:
space:
mode:
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;
}