mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
Tests/Module/GenerateExportHeader: Test exported free-function
This commit is contained in:
1 parent
5361270c6e
commit
74f24b2842
1 file changed
+1
@@ -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.")
|
||||
|
||||
Reference in new issue
Block a user