aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello.sloth')
-rw-r--r--examples/hello.sloth2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/hello.sloth b/examples/hello.sloth
index 8b395e8..a955e66 100644
--- a/examples/hello.sloth
+++ b/examples/hello.sloth
@@ -1,3 +1,5 @@
+foreign fn example(arg: Int) Void;
+
fn main() {
var i: Int = 10;
var j: Int = 1.0 - 1;