summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-04-29 22:04:39 -0400
committerOri Bernstein <ori@eigenstate.org>2014-04-29 22:04:44 -0400
commit099d9cb114e45459527515d955e85ef620024dbd (patch)
tree7167ec14af88511b17bf3dd07811ef6487da2d7a
parent948799fdb2b9120a1b64f48e8f3fd33193632e96 (diff)
downloadmc-099d9cb114e45459527515d955e85ef620024dbd.tar.gz
Shut up the linker by adding a 'main' function.
-rw-r--r--test/exporttrait.myr4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/exporttrait.myr b/test/exporttrait.myr
index c388eda..d4273b4 100644
--- a/test/exporttrait.myr
+++ b/test/exporttrait.myr
@@ -12,3 +12,7 @@ impl t int =
-> v*2
}
;;
+
+/* shut up the linker: we just want to compile this. */
+const main = {
+}