summaryrefslogtreecommitdiffstats
path: root/trunk/testsuite/deps2lib1.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/testsuite/deps2lib1.c')
-rw-r--r--trunk/testsuite/deps2lib1.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/trunk/testsuite/deps2lib1.c b/trunk/testsuite/deps2lib1.c
new file mode 100644
index 0000000..9d4b2de
--- /dev/null
+++ b/trunk/testsuite/deps2lib1.c
@@ -0,0 +1,26 @@
+#include "deps1.h"
+
+int bar = 26;
+int baz = 28;
+
+struct A foo = { 1, &foo, &bar };
+
+int f0 (void)
+{
+ return f1 () + f2 () + f9 () + bar + baz;
+}
+
+int f1 (void)
+{
+ return 1;
+}
+
+int f2 (void)
+{
+ return f1 () + 1;
+}
+
+int f9 (void)
+{
+ return 18;
+}