summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-07-18 20:47:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-07-26 16:25:42 (GMT)
commitb5a6648c4b4973c4747aa6a325938ca1e7d977d0 (patch)
tree2aaf92509a313ac0ddc7b6d8820e6c5d7c1c9db6
parent5fc4e121a18d9e403f1541348c2889e9bc153791 (diff)
downloadCMake-b5a6648c4b4973c4747aa6a325938ca1e7d977d0.zip
CMake-b5a6648c4b4973c4747aa6a325938ca1e7d977d0.tar.gz
CMake-b5a6648c4b4973c4747aa6a325938ca1e7d977d0.tar.bz2
RunCMake/CXXModules: fix partition importing syntax
Apparently GCC accepts the ill-formed prior syntax.
-rw-r--r--Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx2
-rw-r--r--Tests/RunCMake/CXXModules/examples/partitions/importable.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx b/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
index 8be521b..b872ae9 100644
--- a/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx
@@ -1,5 +1,5 @@
export module importable;
-import importable : internal_partition;
+import : internal_partition;
#include "internal-partitions_export.h"
diff --git a/Tests/RunCMake/CXXModules/examples/partitions/importable.cxx b/Tests/RunCMake/CXXModules/examples/partitions/importable.cxx
index 1e81aaf..d0ac2f4 100644
--- a/Tests/RunCMake/CXXModules/examples/partitions/importable.cxx
+++ b/Tests/RunCMake/CXXModules/examples/partitions/importable.cxx
@@ -1,5 +1,5 @@
export module importable;
-export import importable : partition;
+export import : partition;
#include "partitions_export.h"