aboutsummaryrefslogtreecommitdiff
path: root/support/links-dso-program.cc
diff options
context:
space:
mode:
Diffstat (limited to 'support/links-dso-program.cc')
-rw-r--r--support/links-dso-program.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/support/links-dso-program.cc b/support/links-dso-program.cc
new file mode 100644
index 0000000000..dba6976c06
--- /dev/null
+++ b/support/links-dso-program.cc
@@ -0,0 +1,11 @@
+#include <iostream>
+
+using namespace std;
+
+int
+main (int argc, char **argv)
+{
+ /* Complexity to keep gcc from optimizing this away. */
+ cout << (argc > 1 ? argv[1] : "null");
+ return 0;
+}