summaryrefslogtreecommitdiffstats
path: root/Tests/Module
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-07-16 08:05:22 (GMT)
committerBrad King <brad.king@kitware.com>2013-05-24 13:04:35 (GMT)
commit74f24b28423751bd775b66e13078db2fa71a932d (patch)
tree15c2f1b2a8dac8cbce03e6b8aba5130cf8058952 /Tests/Module
parent5361270c6e9898b7ea10854ae101301772cd9b7d (diff)
downloadCMake-74f24b28423751bd775b66e13078db2fa71a932d.zip
CMake-74f24b28423751bd775b66e13078db2fa71a932d.tar.gz
CMake-74f24b28423751bd775b66e13078db2fa71a932d.tar.bz2
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.")