aboutsummaryrefslogtreecommitdiff
path: root/utils/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/main.c')
-rw-r--r--utils/test/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/test/main.c b/utils/test/main.c
new file mode 100644
index 000000000..9caf9d8c9
--- /dev/null
+++ b/utils/test/main.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main(int argc, const char* argv[])
+{
+ int *null_ptr = 0;
+ printf("Hello, fault!\n");
+ printf("Now segfault %d\n", *null_ptr);
+}