[libcxx-commits] [libcxx] [libc++][test] Do not test Clang bug in `is_constructible.pass.cpp` (PR #105964)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 26 07:08:21 PDT 2024


================
@@ -228,8 +228,8 @@ int main(int, char**)
     // But the rvalue to lvalue reference binding isn't allowed according to
     // [over.match.ref] despite Clang accepting it.
     test_is_constructible<int&, ExplicitTo<int&>>();
-#ifndef TEST_COMPILER_GCC
-    test_is_constructible<const int&, ExplicitTo<int&&>>();
+#ifndef __clang__
----------------
ldionne wrote:

```suggestion
#ifndef TEST_COMPILER_CLANG
```

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


More information about the libcxx-commits mailing list