================
@@ -45,7 +45,7 @@ using E = test<NotALiteral, 1, std::array<NotALiteral, 1>{}>;
 // expected-error-re@*:* {{non-type template parameter has non-literal type 
'std::array<NotALiteral, 1U{{L{0,2}.*}}>'}}
 
 using F = test<std::string, 2, std::array<std::string, 2>{}>;
-// expected-error-re@*:* {{type 'std::array<{{(std::)?}}string, 
2U{{L{0,2}.*}}>' {{(\(aka 'array<basic_string<char>, 2UL{0,2}>'\) )?}}of 
non-type template parameter is not a structural type}}
+// expected-error-re@*:* {{type 'std::array<{{(std::)?}}string, 
2U{{L{0,2}.*}}>' {{(\(aka '(std::)?array<basic_string<char>, 2UL{0,2}>'\) 
)?}}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

Reply via email to