aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-24 21:11:44 -0500
committerCody <cody@codyq.dev>2023-06-24 21:11:44 -0500
commitdef8adfcb9a9572f4e030990626a0d08377118bd (patch)
treef230fdf3d281f3f9a91f0510d954344f2bdb48ce /examples/hello.sloth
parent0ee365c80667a3a5f43a86ead75fd0da5be23282 (diff)
downloadsloth-def8adfcb9a9572f4e030990626a0d08377118bd.tar.gz
hehehaha
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;