summaryrefslogtreecommitdiff
path: root/demo-exitcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo-exitcode.c')
-rw-r--r--demo-exitcode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/demo-exitcode.c b/demo-exitcode.c
new file mode 100644
index 0000000..5b6ebb1
--- /dev/null
+++ b/demo-exitcode.c
@@ -0,0 +1,8 @@
+#include "libmalice.h"
+
+int lmMain(void)
+{
+ lmPrintString("This demo exits with code 42.\n");
+
+ return 42;
+}