[libcxx-commits] [libcxx] [libcxx] Enrich message for std::bad_variant_access exception (PR #196495)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 9 13:13:49 PDT 2026


================
@@ -0,0 +1,92 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, no-exceptions
----------------
philnik777 wrote:

This is testing libc++-specific things, so it seems correct to me to split it into a libc++-specific test.

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


More information about the libcxx-commits mailing list