summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Languages/empty.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-14 13:59:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-24 14:21:53 (GMT)
commitb1c19ce3837036bde3b639f8285fa228b8e6f278 (patch)
tree3c6fa9415dcfd4e6232a926072f7ca4f4db752c6 /Tests/RunCMake/Languages/empty.cpp
parent0e1cb07e841c5ca9207bc4e32ff0672476226cc0 (diff)
downloadCMake-b1c19ce3837036bde3b639f8285fa228b8e6f278.zip
CMake-b1c19ce3837036bde3b639f8285fa228b8e6f278.tar.gz
CMake-b1c19ce3837036bde3b639f8285fa228b8e6f278.tar.bz2
Genex: Make LINK_LANGUAGE report an error when evaluating link libraries.
Diffstat (limited to 'Tests/RunCMake/Languages/empty.cpp')
-rw-r--r--Tests/RunCMake/Languages/empty.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/Languages/empty.cpp b/Tests/RunCMake/Languages/empty.cpp
new file mode 100644
index 0000000..7279c5e
--- /dev/null
+++ b/Tests/RunCMake/Languages/empty.cpp
@@ -0,0 +1,7 @@
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+int empty(void)
+{
+ return 0;
+}