================
@@ -599,7 +599,7 @@ namespace Destructors {
   };
   constexpr int testS() {
     S{}; // ref-note {{in call to 'S{}.~S()'}} \
-         // expected-note {{in call to '&S{}->~S()'}}
+         // expected-note {{in call to 'S{}.~S()'}}
----------------
tbaederr wrote:

```suggestion
         // both-note {{in call to 'S{}.~S()'}}
```
and remove the line above if the output matches anyway.

https://github.com/llvm/llvm-project/pull/102170
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to