[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
================
@@ -74,7 +74,7 @@ using H = test<std::pair<NotALiteral, NotALiteral>{}>;
// expected-error at -1 {{non-type template parameter has non-literal type 'std::pair<NotALiteral, NotALiteral>'}}
using I = test<std::pair<std::string, std::string>{}>;
-// expected-error-re at -1 {{type 'std::pair<{{(std::)?}}string, {{(std::)?}}string>'{{( \(aka 'std::pair<std::string, std::string>'\))?}} of non-type template parameter is not a structural type}}
+// expected-error-re@*:* {{type 'std::pair<{{(std::)?}}string, {{(std::)?}}string>'{{( \(aka 'std::pair<((std::string, std::string)|(basic_string<char>, basic_string<char>))>'\))?}} of non-type template parameter is not a structural type}}
----------------
ldionne wrote:
```suggestion
// expected-error-re@*:* {{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