summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Case5/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Dependency/Case5/bar.c')
-rw-r--r--Tests/Dependency/Case5/bar.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Dependency/Case5/bar.c b/Tests/Dependency/Case5/bar.c
new file mode 100644
index 0000000..4cb1b1b
--- /dev/null
+++ b/Tests/Dependency/Case5/bar.c
@@ -0,0 +1,12 @@
+#ifdef _WIN32
+__declspec(dllimport)
+#endif
+void foo(void);
+
+#include <stdio.h>
+
+void bar(void)
+{
+ foo();
+ printf("bar()\n");
+}