From 292907f90d39211bcf41d6511baf051013fa11e9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Nov 2019 08:55:10 +0200 Subject: Disable C++ modules tests for Clang 9 See the following post for details: http://lists.llvm.org/pipermail/cfe-dev/2019-October/063637.html --- tests/cc/modules/common.testscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/cc') diff --git a/tests/cc/modules/common.testscript b/tests/cc/modules/common.testscript index 97c5a2b..6eb8853 100644 --- a/tests/cc/modules/common.testscript +++ b/tests/cc/modules/common.testscript @@ -28,6 +28,14 @@ using cxx if ($cxx.id == 'msvc' && $cxx.version.major == 19 && $cxx.version.minor < 12) cxx.features.modules = false +# In Clang 9 modules are enabled by default in the c++2a mode and there is +# no way to disable them. See the following post for details: +# +# http://lists.llvm.org/pipermail/cfe-dev/2019-October/063637.html +# +if ($cxx.id == 'clang' && $cxx.version.major >= 9) + cxx.features.modules = false + hxx{*}: extension = hxx mxx{*}: extension = mxx cxx{*}: extension = cxx -- cgit v1.1