about summary refs log tree commit diff
path: root/users/grfn/achilles/ach/units.ach
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/achilles/ach/units.ach')
-rw-r--r--users/grfn/achilles/ach/units.ach7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/grfn/achilles/ach/units.ach b/users/grfn/achilles/ach/units.ach
new file mode 100644
index 000000000000..70635d978c7c
--- /dev/null
+++ b/users/grfn/achilles/ach/units.ach
@@ -0,0 +1,7 @@
+extern puts : fn cstring -> int
+
+ty print : fn cstring -> ()
+fn print x = let _ = puts x in ()
+
+ty main : fn -> int
+fn main = let _ = print "hi" in 0