summaryrefslogtreecommitdiffstats
path: root/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c b/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c
new file mode 100644
index 0000000..5009531
--- /dev/null
+++ b/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int some_symbol (void);
+
+int main () {
+ int ret = some_symbol ();
+ if (ret == 1)
+ return 0;
+ fprintf (stderr, "ret was %i instead of 1\n", ret);
+ return -1;
+}