aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libn/test.c')
-rw-r--r--sys/libn/test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/libn/test.c b/sys/libn/test.c
index 66c3c7f..797bcf8 100644
--- a/sys/libn/test.c
+++ b/sys/libn/test.c
@@ -4,6 +4,7 @@
#include <time.h>
+#if 0
uintptr
printtest(Coro *c, uintptr d)
{
@@ -154,6 +155,7 @@ test·sort()
return 0;
}
+#endif
error
main()
@@ -163,8 +165,9 @@ main()
if (err = test·coro(), err) {
errorf("test fail: coroutine");
}
-#endif
if (err = test·sort(), err) {
errorf("test fail: coroutine");
}
+#endif
+ return 0;
}