summaryrefslogtreecommitdiffstats
path: root/Tests/LibName/use_ver_space.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-04 20:50:16 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-08 18:03:21 (GMT)
commit7621861f30992bdaddb66a7f3e5dce6eec4545bd (patch)
tree1da0732928fb86d3d8b7b4777052b062f9735152 /Tests/LibName/use_ver_space.c
parent388eb83c098400cb63493896e12b05d685040147 (diff)
downloadCMake-7621861f30992bdaddb66a7f3e5dce6eec4545bd.zip
CMake-7621861f30992bdaddb66a7f3e5dce6eec4545bd.tar.gz
CMake-7621861f30992bdaddb66a7f3e5dce6eec4545bd.tar.bz2
Tests: Update LibName to cover spaces in shared library name
Diffstat (limited to 'Tests/LibName/use_ver_space.c')
-rw-r--r--Tests/LibName/use_ver_space.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/LibName/use_ver_space.c b/Tests/LibName/use_ver_space.c
new file mode 100644
index 0000000..a6a733d
--- /dev/null
+++ b/Tests/LibName/use_ver_space.c
@@ -0,0 +1,9 @@
+#ifdef _WIN32
+__declspec(dllimport)
+#endif
+ int ver_space(void);
+
+int main(void)
+{
+ return ver_space();
+}