From b5a6648c4b4973c4747aa6a325938ca1e7d977d0 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 18 Jul 2022 16:47:15 -0400 Subject: RunCMake/CXXModules: fix partition importing syntax Apparently GCC accepts the ill-formed prior syntax. --- Tests/RunCMake/CXXModules/examples/internal-partitions/importable.cxx | 2 +- Tests/RunCMake/CXXModules/examples/partitions/importable.cxx | 2 +- 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" -- cgit v0.12