summaryrefslogtreecommitdiffstats
path: root/Tests/Module
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-24 13:19:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-24 13:19:43 (GMT)
commitdc85291c57be92e6f4a9b86ae87d5639fbb4dd6f (patch)
tree67502d9cd6bd3042fb62f64c01d8c0a4c589c861 /Tests/Module
parent239604685d3cd0a9f0e96bb69314ed98df9e3bea (diff)
parent74f24b28423751bd775b66e13078db2fa71a932d (diff)
downloadCMake-dc85291c57be92e6f4a9b86ae87d5639fbb4dd6f.zip
CMake-dc85291c57be92e6f4a9b86ae87d5639fbb4dd6f.tar.gz
CMake-dc85291c57be92e6f4a9b86ae87d5639fbb4dd6f.tar.bz2
Merge topic 'geh-add-missing-test'
74f24b2 Tests/Module/GenerateExportHeader: Test exported free-function
Diffstat (limited to 'Tests/Module')
-rw-r--r--Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt b/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt
index a5804fc..2a97d8f 100644
--- a/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt
+++ b/Tests/Module/GenerateExportHeader/libsharedtest/CMakeLists.txt
@@ -8,6 +8,7 @@ macro(shared_build_fail Source Message)
endmacro()
shared_build_pass("Libshared l; return l.libshared_exported();" "Failed to build exported")
+shared_build_pass("return libshared_exported();" "Failed to build exported function.")
# if (COMPILER_HAS_DEPRECATED)
# shared_build_fail("Libshared l; return l.libshared_deprecated();" "Built use of deprecated class method. This should not be possible.")