Add putchard and move to OrcJIT
[kaleidoscope-hs-old.git] / test.ks
diff --git a/test.ks b/test.ks
new file mode 100644 (file)
index 0000000..c18328b
--- /dev/null
+++ b/test.ks
@@ -0,0 +1,3 @@
+def foo(x y) if x > y then x + y else x - y;
+extern putchard(x);
+putchard(42);