================ @@ -74,7 +74,7 @@ using H = test<std::pair<NotALiteral, NotALiteral>{}>; // expected-error@-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@-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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits