diff options
Diffstat (limited to 'test/FrontendC++/2009-06-30-ByrefBlock.cpp')
-rw-r--r-- | test/FrontendC++/2009-06-30-ByrefBlock.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/FrontendC++/2009-06-30-ByrefBlock.cpp b/test/FrontendC++/2009-06-30-ByrefBlock.cpp deleted file mode 100644 index be9c94f..0000000 --- a/test/FrontendC++/2009-06-30-ByrefBlock.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// Insure __block_holder_tmp is allocated on the stack. Darwin only. -// RUN: %llvmgxx %s -S -O2 -o - | egrep {__block_holder_tmp.*alloca} -// XFAIL: * -// XTARGET: darwin -// <rdar://problem/5865221> -// END. -extern void fubar_dispatch_sync(void (^PP)(void)); -void fubar() { - __block void *voodoo; - fubar_dispatch_sync(^(void){voodoo=0;}); -} |