[libc++] Disable a std::unexpected test in modules build (#144466)
This patch disables unexpected_disabled_cpp17.verify.cpp under clang
modules builds because it changes diagnostics criteria post #143423,
causing the test to fail.
This patch follows a similar style to 853059a150.
This was found when working on trying to land #144033.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// When built with modules, this test gives diagnostics like declaration of
|
||||
// 'unexpected' must be imported from module 'std.expected.unexpected' before
|
||||
// it is required. Therefore disable it in this configuration.
|
||||
// UNSUPPORTED: clang-modules-build
|
||||
|
||||
// test unexpected
|
||||
|
||||
#include <exception>
|
||||
|
||||
Reference in New Issue
Block a user