summaryrefslogtreecommitdiff
path: root/Tests/ExportImport/Import/install-RUNTIME_DEPENDENCIES/sublib1.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ExportImport/Import/install-RUNTIME_DEPENDENCIES/sublib1.c')
-rw-r--r--Tests/ExportImport/Import/install-RUNTIME_DEPENDENCIES/sublib1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/ExportImport/Import/install-RUNTIME_DEPENDENCIES/sublib1.c b/Tests/ExportImport/Import/install-RUNTIME_DEPENDENCIES/sublib1.c
new file mode 100644
index 000000000..f17b9026e
--- /dev/null
+++ b/Tests/ExportImport/Import/install-RUNTIME_DEPENDENCIES/sublib1.c
@@ -0,0 +1,12 @@
+#ifdef _WIN32
+__declspec(dllimport)
+#endif
+ extern void dep6(void);
+
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+ void sublib1(void)
+{
+ dep6();
+}