================
@@ -95,5 +95,5 @@ 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@-1 {{type 'std::pair<std::string, std::string>' (aka 
'pair<basic_string<char>, basic_string<char>>') of non-type template parameter 
is not a structural type}}
+// expected-error-re@-1 {{type 'std::pair<std::string, std::string>' (aka 
'{{(std::)?}}pair<basic_string<char>, basic_string<char>>') of non-type 
template parameter is not a structural type}}
----------------
ldionne wrote:

```suggestion
// expected-error-re@-1 {{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

Reply via email to