aboutsummaryrefslogtreecommitdiff
path: root/examples/fib.fwd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fib.fwd')
-rw-r--r--examples/fib.fwd3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/fib.fwd b/examples/fib.fwd
index 44ced4a..be2b63f 100644
--- a/examples/fib.fwd
+++ b/examples/fib.fwd
@@ -14,6 +14,9 @@ fib(int n, (int) res)
}
}
+/* 'extern' println */
+fwd_println(int n);
+
main()
{
fib(6) => int n;