summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-06-17 08:51:39 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-17 12:02:33 (GMT)
commit0951b1fe072da311e9adb55337ef364e2b6c01d0 (patch)
treed913a6530d58ae2e9197614107143a4cf8f8ba39 /Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx
parent2ae33f7ace90c0fbe0fae43de5a55d5d31dde4bc (diff)
downloadCMake-0951b1fe072da311e9adb55337ef364e2b6c01d0.zip
CMake-0951b1fe072da311e9adb55337ef364e2b6c01d0.tar.gz
CMake-0951b1fe072da311e9adb55337ef364e2b6c01d0.tar.bz2
Tests: Split RunCMake.target_link_libraries test
Fixes: #20836
Diffstat (limited to 'Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx')
-rw-r--r--Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx
new file mode 100644
index 0000000..a12caca
--- /dev/null
+++ b/Tests/RunCMake/target_link_libraries-LINK_LANG_AND_ID/func.cxx
@@ -0,0 +1,7 @@
+
+#if defined(_WIN32)
+__declspec(dllexport)
+#endif
+ void func_cxx()
+{
+}