[libcxx-commits] [libcxx] [libc++] Disabled unexpected_disabled test in modules build (PR #144466)

Aiden Grossman via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 17 14:12:09 PDT 2025


================
@@ -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
----------------
boomanaiden154 wrote:

Just this one and one other that I could find that already has this workaround. This specific diagnostic is done through typo correction so doesn't fire very often.

https://github.com/llvm/llvm-project/pull/144466


More information about the libcxx-commits mailing list