about summary refs log tree commit diff
path: root/examples/1.pry
diff options
context:
space:
mode:
Diffstat (limited to 'examples/1.pry')
-rw-r--r--examples/1.pry19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/1.pry b/examples/1.pry
new file mode 100644
index 0000000..c497dc4
--- /dev/null
+++ b/examples/1.pry
@@ -0,0 +1,19 @@
+import "!stdlib.pry";
+
+let main = () => i64 {
+	let s = "hello";
+
+	printf("%s\n", s);
+
+	return 0;
+};
+
+/*
+
+Expected stdout:
+
+hello
+
+Expected return: 0
+
+*/