aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
diff options
context:
space:
mode:
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;
}