summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/testobj1.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/testobj1.c')
-rw-r--r--Tests/RunCMake/install/testobj1.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/testobj1.c b/Tests/RunCMake/install/testobj1.c
new file mode 100644
index 0000000..081ef20
--- /dev/null
+++ b/Tests/RunCMake/install/testobj1.c
@@ -0,0 +1,9 @@
+#ifdef _WIN32
+__declspec(dllimport)
+#endif
+ int obj1(void);
+
+int main(void)
+{
+ return obj1();
+}