https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352
--- Comment #31 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Sergey Fedorov from comment #29) > (In reply to Eric Gallager from comment #25) > > Cross-referencing against > > https://github.com/apple/swift-corelibs-libdispatch/issues/765 > > By the way, have you got some example code at hand which can serve as a > test? It must not require C/C++ 2011, of course. > I can try compiling it on 10.6 with its gcc. Check any of the testcases in either of these directories starting with the `block-` prefix: https://github.com/apple-oss-distributions/gcc/tree/e19d86db70127e160b1c32557e0bb80ebc272f92/gcc/testsuite/g%2B%2B.apple https://github.com/apple-oss-distributions/gcc/tree/e19d86db70127e160b1c32557e0bb80ebc272f92/gcc/testsuite/gcc.apple (It's got to be from that particular commit, because that was the last release before Apple stopped shipping the testsuite with their distribution of GCC)