================
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 %s -std=c++26 -freflection -fblocks -fsyntax-only
+
+struct A {
+  int operator^(int (^block)(int x)) const {
+    return block(0);
+  }
+};
+
+
+int main()
+{
+    (void)(A{}^^(int y){ return y + 1; });
----------------
Sirraide wrote:

(That also applies to the other test file)

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

Reply via email to