summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_libraries/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/target_link_libraries/main.cxx')
-rw-r--r--Tests/RunCMake/target_link_libraries/main.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_libraries/main.cxx b/Tests/RunCMake/target_link_libraries/main.cxx
new file mode 100644
index 0000000..ffaa3b4
--- /dev/null
+++ b/Tests/RunCMake/target_link_libraries/main.cxx
@@ -0,0 +1,12 @@
+
+#if defined(_WIN32)
+__declspec(dllimport)
+#endif
+ void func_cxx();
+
+int main()
+{
+ func_cxx();
+
+ return 0;
+}