aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-27 01:59:04 -0500
committerCody <cody@codyq.dev>2023-06-27 01:59:04 -0500
commit9c2d8f5a10b8affd604cec6e394d43514ef93ca1 (patch)
tree73f87c0484b58f2e7d7c83891d6cb437c3789250 /examples/hello.sloth
parent4c26865f904729408ce1aaf35041150c35490311 (diff)
downloadsloth-9c2d8f5a10b8affd604cec6e394d43514ef93ca1.tar.gz
mmmm multiple files mmmmm
Diffstat (limited to 'examples/hello.sloth')
-rw-r--r--examples/hello.sloth3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/hello.sloth b/examples/hello.sloth
index 6f56632..619a5a0 100644
--- a/examples/hello.sloth
+++ b/examples/hello.sloth
@@ -1,6 +1,5 @@
-foreign fn print(x: String) Void;
-
fn main() Int {
print("Hello World\n");
+ var x: F = 2;
return 0;
}