about summary refs log tree commit diff
path: root/support/links-dso-program-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/links-dso-program-c.c')
-rw-r--r--support/links-dso-program-c.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/links-dso-program-c.c b/support/links-dso-program-c.c
new file mode 100644
index 0000000000..d28a28a0d0
--- /dev/null
+++ b/support/links-dso-program-c.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+int
+main (int argc, char **argv)
+{
+  /* Complexity to keep gcc from optimizing this away.  */
+  printf ("This is a test %s.\n", argc > 1 ? argv[1] : "null");
+  return 0;
+}