================
@@ -2102,3 +2102,35 @@ void pointer_in_array_use_after_scope() {
 }
 
 } // namespace array
+
+namespace GH187426 {
+// https://github.com/llvm/llvm-project/issues/187426
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wc++23-extensions"
+
+struct S {
+  static S operator()(int, int&&);
+  static S& operator()(std::string&&,
+                           const int& a [[clang::lifetimebound]],
+                           const int& b [[clang::lifetimebound]]);
----------------
usx95 wrote:

nit: Fix indentation of last 2 params

https://github.com/llvm/llvm-project/pull/187853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to