================
@@ -48,12 +48,12 @@ void pointer_to_incomplete_type() {
 void function_pointer() {
   {
     volatile std::atomic<void (*)(int)> fun;
-    // expected-error-re@*:* {{static assertion failed due to requirement 
'!is_function<void (int)>::value'{{.*}}Pointer to function isn't allowed}}
+    // expected-error-re@*:* {{static assertion failed due to requirement 
'!{{(std::)?}}is_function<void (int)>::value'{{.*}}Pointer to function isn't 
allowed}}
----------------
ldionne wrote:

```suggestion
    // expected-error-re@*:* {{static assertion failed due to requirement 
{{.+}}Pointer to function isn't allowed}}
```

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