================
@@ -77,5 +77,5 @@ using E = test<std::array<NotALiteral, 1>{}>;
 // expected-error@-1 {{non-type template parameter has non-literal type 
'std::array<NotALiteral, 1>'}}
 
 using F = test<std::array<std::string, 2>{}>;
-// expected-error@-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@-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@-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