aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c')
-rw-r--r--meson/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c b/meson/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c
new file mode 100644
index 000000000..500953169
--- /dev/null
+++ b/meson/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;
+}