[Bug objc++/109728] lambda capture with initializer doesn't compile when compiling ObjC++ code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109728 --- Comment #2 from Fabio Alemagna --- Yes, clang handles this case correctly.
[Bug objc++/109728] lambda capture with initializer doesn't compile when compiling ObjC++ code.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109728 --- Comment #1 from Andrew Pinski --- Oh this might be an ambiguity with ObjC++ parsing part. [a b] is how you call an object-C method after all. Is clang able to handle this case too?