[llvm-branch-commits] [clang] [libcxx] [PATCH 3/7] [clang] improve NestedNameSpecifier: test changes (PR #148014)
Louis Dionne via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 1 10:06:22 PDT 2025
================
@@ -77,5 +77,5 @@ using E = test<std::array<NotALiteral, 1>{}>;
// expected-error at -1 {{non-type template parameter has non-literal type 'std::array<NotALiteral, 1>'}}
using F = test<std::array<std::string, 2>{}>;
-// expected-error at -1 {{type 'std::array<std::string, 2>' (aka 'array<basic_string<char>, 2>') of non-type template parameter is not a structural type}}
+// expected-error-re at -1 {{type 'std::array<std::string, 2>' (aka '{{(std::)?}}array<basic_string<char>, 2>') of non-type template parameter is not a structural type}}
----------------
ldionne wrote:
```suggestion
// expected-error-re at -1 {{type {{.+}} of non-type template parameter is not a structural type}}
```
https://github.com/llvm/llvm-project/pull/148014
More information about the llvm-branch-commits
mailing list