xref: /aosp_15_r20/external/compiler-rt/test/BlocksRuntime/macro.c (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot //
2*7c3d14c8STreehugger Robot //                     The LLVM Compiler Infrastructure
3*7c3d14c8STreehugger Robot //
4*7c3d14c8STreehugger Robot // This file is distributed under the University of Illinois Open Source
5*7c3d14c8STreehugger Robot // License. See LICENSE.TXT for details.
6*7c3d14c8STreehugger Robot 
7*7c3d14c8STreehugger Robot // CONFIG open rdar://6718399
8*7c3d14c8STreehugger Robot #include <Block.h>
9*7c3d14c8STreehugger Robot 
foo()10*7c3d14c8STreehugger Robot void foo() {
11*7c3d14c8STreehugger Robot     void (^bbb)(void)  = Block_copy(^ {
12*7c3d14c8STreehugger Robot         int j, cnt;
13*7c3d14c8STreehugger Robot     });
14*7c3d14c8STreehugger Robot }
15