aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing/32 exe static shared/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/failing/32 exe static shared/prog.c')
-rw-r--r--test cases/failing/32 exe static shared/prog.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/failing/32 exe static shared/prog.c b/test cases/failing/32 exe static shared/prog.c
new file mode 100644
index 0000000..26603b6
--- /dev/null
+++ b/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;
+}