diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-05 08:55:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-05 08:55:10 +0200 |
commit | 292907f90d39211bcf41d6511baf051013fa11e9 (patch) | |
tree | d74d38cfceaace62bf1cd5d3cc626da193c77c7a /tests | |
parent | d48027b835e19c97ad6af8721bd8643c8c180acf (diff) |
Disable C++ modules tests for Clang 9
See the following post for details:
http://lists.llvm.org/pipermail/cfe-dev/2019-October/063637.html
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cc/modules/common.testscript | 8 |
1 files changed, 8 insertions, 0 deletions
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 |