aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/failing/32 exe static shared/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/failing/32 exe static shared/prog.c')
-rw-r--r--meson/test cases/failing/32 exe static shared/prog.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/failing/32 exe static shared/prog.c b/meson/test cases/failing/32 exe static shared/prog.c
new file mode 100644
index 000000000..26603b694
--- /dev/null
+++ b/meson/test cases/failing/32 exe static shared/prog.c
@@ -0,0 +1,10 @@
+int shlibfunc2();
+int statlibfunc();
+
+int main(int argc, char **argv) {
+ if (statlibfunc() != 42)
+ return 1;
+ if (shlibfunc2() != 24)
+ return 1;
+ return 0;
+}