summaryrefslogtreecommitdiffstats
path: root/test cases/common/55 exe static shared/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/55 exe static shared/prog.c')
-rw-r--r--test cases/common/55 exe static shared/prog.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/55 exe static shared/prog.c b/test cases/common/55 exe static shared/prog.c
new file mode 100644
index 0000000..6dba60d
--- /dev/null
+++ b/test cases/common/55 exe static shared/prog.c
@@ -0,0 +1,10 @@
+int shlibfunc2(void);
+int statlibfunc(void);
+
+int main(void) {
+ if (statlibfunc() != 42)
+ return 1;
+ if (shlibfunc2() != 24)
+ return 1;
+ return 0;
+}