summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.c b/common.c
index 100acdb..67acd51 100644
--- a/common.c
+++ b/common.c
@@ -1,5 +1,6 @@
#include <stddef.h>
#include <stdio.h>
+#include <assert.h>
#include <gc.h>
@@ -42,5 +43,6 @@ int main() {
int *ret = (int *) inter_main();
+ assert(ret);
return *ret;
}