[libcxx-commits] [libcxx] [libc++][test] Test LWG3819: `reference_meows_from_temporary` should not use `is_meowible` (PR #143474)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 1 00:40:39 PDT 2025


================
@@ -66,6 +67,25 @@ constexpr bool test() {
 
   test_reference_converts_from_temporary<const int&, long, true>();
 
+#if defined(TEST_COMPILER_GCC) || (defined(TEST_CLANG_VER) && TEST_CLANG_VER >= 2100)
----------------
frederick-vs-ja wrote:

> This should probably be the other way around. i.e. run this code unless we have a compiler that doesn't support it. Otherwise we will forget about this.

The suggestion looks obscure to me. I'm now trying to run the code in "the next versions", so that we won't forget about the test when updating CI.

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


More information about the libcxx-commits mailing list