aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cc/modules/common.testscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript
index 6f09c62..1e94b36 100644
--- a/tests/cc/modules/common.testscript
+++ b/tests/cc/modules/common.testscript
@@ -47,3 +47,10 @@ EOI
+$* noop <<EOI | set headers
print ($cxx.features.modules && $cxx.id == 'gcc')
EOI
+
+# @@ TMP: modules support is completely broken in MinGW GCC 11.x.
+#
+if ($cxx.target.class == 'windows' && $cxx.id == 'gcc')
+ modules = false
+ headers = false
+end