xref: /llvm-project/compiler-rt/test/BlocksRuntime/macro.c (revision 2946cd701067404b99c39fb29dc9c74bd7193eb3)
18c1441f8SAlexey Samsonov //
2*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
4*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
58c1441f8SAlexey Samsonov 
68c1441f8SAlexey Samsonov // CONFIG open rdar://6718399
78c1441f8SAlexey Samsonov #include <Block.h>
88c1441f8SAlexey Samsonov 
foo()98c1441f8SAlexey Samsonov void foo() {
108c1441f8SAlexey Samsonov     void (^bbb)(void)  = Block_copy(^ {
118c1441f8SAlexey Samsonov         int j, cnt;
128c1441f8SAlexey Samsonov     });
138c1441f8SAlexey Samsonov }
14