xref: /llvm-project/compiler-rt/test/BlocksRuntime/macro.c (revision 2946cd701067404b99c39fb29dc9c74bd7193eb3)
1 //
2 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3 // See https://llvm.org/LICENSE.txt for license information.
4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 
6 // CONFIG open rdar://6718399
7 #include <Block.h>
8 
foo()9 void foo() {
10     void (^bbb)(void)  = Block_copy(^ {
11         int j, cnt;
12     });
13 }
14