aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cc/modules/testscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cc/modules/testscript b/tests/cc/modules/testscript
index 38a3fde..36a5ebe 100644
--- a/tests/cc/modules/testscript
+++ b/tests/cc/modules/testscript
@@ -16,7 +16,8 @@ cxx.std = experimental
# Force modules except for VC where we need at least 15u3.
#
-cxx.features.modules = ($cxx.id != "msvc")
+if ($cxx.id != "msvc")
+ cxx.features.modules = true
using cxx