aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/modules/common.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-26 07:32:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-30 13:03:07 +0200
commitc0303569afe979f3965228835ac902dce2e940c2 (patch)
treebb4796b61d74fae286d0a8d328968a503c2bade6 /tests/cc/modules/common.testscript
parent7801dc763e50fcecc8a370f78fe33b5e86e1c8a3 (diff)
Start adapting module mapper to latest GCC protocol
Diffstat (limited to 'tests/cc/modules/common.testscript')
-rw-r--r--tests/cc/modules/common.testscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript
index 2fbb9a5..6f09c62 100644
--- a/tests/cc/modules/common.testscript
+++ b/tests/cc/modules/common.testscript
@@ -13,11 +13,17 @@ EOI
+cat <<EOI >=build/root.build
using in
+using cxx.guess
+
# Force modules.
#
cxx.std = experimental
cxx.features.symexport = true
+# @@ TMP revise
+if ($cxx.id == 'gcc')
+ cxx.features.modules = true
+
using cxx
hxx{*}: extension = hxx