aboutsummaryrefslogtreecommitdiff
path: root/unittests/Utility/Inputs/TestModule.c
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Utility/Inputs/TestModule.c')
-rw-r--r--unittests/Utility/Inputs/TestModule.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/unittests/Utility/Inputs/TestModule.c b/unittests/Utility/Inputs/TestModule.c
new file mode 100644
index 000000000000..12374e1f7c65
--- /dev/null
+++ b/unittests/Utility/Inputs/TestModule.c
@@ -0,0 +1,10 @@
+// Compile with $CC -nostdlib -shared TestModule.c -o TestModule.so
+// The actual contents of the test module is not important here. I am using this because it
+// produces an extremely tiny (but still perfectly valid) module.
+
+void
+boom(void)
+{
+ char *BOOM;
+ *BOOM = 47;
+}