diff options
Diffstat (limited to 'BlocksRuntime/tests/macro.c')
-rw-r--r-- | BlocksRuntime/tests/macro.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/BlocksRuntime/tests/macro.c b/BlocksRuntime/tests/macro.c new file mode 100644 index 000000000000..988c0689b8f8 --- /dev/null +++ b/BlocksRuntime/tests/macro.c @@ -0,0 +1,14 @@ +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + +// CONFIG open rdar://6718399 +#include <Block.h> + +void foo() { + void (^bbb)(void) = Block_copy(^ { + int j, cnt; + }); +} |