summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-07 14:01:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-02-07 14:01:53 (GMT)
commitc323d446d6eec5c1c06fa99d3520ec15e3ab5c8c (patch)
tree4daad6e9feb12f9697fe4c92a906e67e8f165d32 /Tests
parent7aee115ff489d45a2f94ef2861a1f5cdd20a2de1 (diff)
parent3f1e00506772eaf082f161a4168caa38df142309 (diff)
downloadCMake-c323d446d6eec5c1c06fa99d3520ec15e3ab5c8c.zip
CMake-c323d446d6eec5c1c06fa99d3520ec15e3ab5c8c.tar.gz
CMake-c323d446d6eec5c1c06fa99d3520ec15e3ab5c8c.tar.bz2
Merge topic 'cxxmodules-proper-mangling' into release-3.26
3f1e005067 Tests/RunCMake/CXXModules: declare `forwarding` as `extern "C++"` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8159
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/importable.cxx2
-rw-r--r--Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/importable.cxx2
-rw-r--r--Tests/RunCMake/CXXModules/examples/export-interface-build/importable.cxx2
-rw-r--r--Tests/RunCMake/CXXModules/examples/export-interface-install/importable.cxx2
-rw-r--r--Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/importable.cxx2
-rw-r--r--Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/importable.cxx2
6 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/importable.cxx b/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/importable.cxx
index e0b1872..8dfc41b 100644
--- a/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-build/importable.cxx
@@ -1,6 +1,8 @@
export module importable;
+extern "C++" {
int forwarding();
+}
export int from_import()
{
diff --git a/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/importable.cxx b/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/importable.cxx
index e0b1872..8dfc41b 100644
--- a/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/export-bmi-and-interface-install/importable.cxx
@@ -1,6 +1,8 @@
export module importable;
+extern "C++" {
int forwarding();
+}
export int from_import()
{
diff --git a/Tests/RunCMake/CXXModules/examples/export-interface-build/importable.cxx b/Tests/RunCMake/CXXModules/examples/export-interface-build/importable.cxx
index e0b1872..8dfc41b 100644
--- a/Tests/RunCMake/CXXModules/examples/export-interface-build/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/export-interface-build/importable.cxx
@@ -1,6 +1,8 @@
export module importable;
+extern "C++" {
int forwarding();
+}
export int from_import()
{
diff --git a/Tests/RunCMake/CXXModules/examples/export-interface-install/importable.cxx b/Tests/RunCMake/CXXModules/examples/export-interface-install/importable.cxx
index e0b1872..8dfc41b 100644
--- a/Tests/RunCMake/CXXModules/examples/export-interface-install/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/export-interface-install/importable.cxx
@@ -1,6 +1,8 @@
export module importable;
+extern "C++" {
int forwarding();
+}
export int from_import()
{
diff --git a/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/importable.cxx b/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/importable.cxx
index e0b1872..8dfc41b 100644
--- a/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-build/importable.cxx
@@ -1,6 +1,8 @@
export module importable;
+extern "C++" {
int forwarding();
+}
export int from_import()
{
diff --git a/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/importable.cxx b/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/importable.cxx
index e0b1872..8dfc41b 100644
--- a/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/export-interface-no-properties-install/importable.cxx
@@ -1,6 +1,8 @@
export module importable;
+extern "C++" {
int forwarding();
+}
export int from_import()
{