[llvm-branch-commits] [clang] [libcxx] [clang] Finish implementation of P0522 (PR #96023)
Louis Dionne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 25 08:16:01 PDT 2024
================
@@ -18,5 +18,9 @@
#include <array>
#include <utility>
-// expected-error at +1 {{template template argument has different template parameters than its corresponding template template parameter}}
-static_assert(!std::__is_specialization_v<std::pair<int, std::size_t>, std::array>);
+#if defined(__clang__) && __clang_major__ >= 19
+// expected-error at array:* {{could not match _Size against 'type-parameter-0-0'}}
+#else
+// expected-error@#SA {{template template argument has different template parameters than its corresponding template template parameter}}
+#endif
----------------
ldionne wrote:
Yeah, I really don't think the exact error message is important to test.
https://github.com/llvm/llvm-project/pull/96023
More information about the llvm-branch-commits
mailing list