mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Tests/RunCMake/CXXModules: declare forwarding as extern "C++"
It is not part of any module, so it needs to be declared as such.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
export module importable;
|
||||
|
||||
extern "C++" {
|
||||
int forwarding();
|
||||
}
|
||||
|
||||
export int from_import()
|
||||
{
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
export module importable;
|
||||
|
||||
extern "C++" {
|
||||
int forwarding();
|
||||
}
|
||||
|
||||
export int from_import()
|
||||
{
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
export module importable;
|
||||
|
||||
extern "C++" {
|
||||
int forwarding();
|
||||
}
|
||||
|
||||
export int from_import()
|
||||
{
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
export module importable;
|
||||
|
||||
extern "C++" {
|
||||
int forwarding();
|
||||
}
|
||||
|
||||
export int from_import()
|
||||
{
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
export module importable;
|
||||
|
||||
extern "C++" {
|
||||
int forwarding();
|
||||
}
|
||||
|
||||
export int from_import()
|
||||
{
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
export module importable;
|
||||
|
||||
extern "C++" {
|
||||
int forwarding();
|
||||
}
|
||||
|
||||
export int from_import()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user