// Insure __block_holder_tmp is allocated on the stack.
// RUN: %llvmgxx %s -S -O2 -o - | egrep {__block_holder_tmp.*alloca}
// <rdar://problem/5865221>
extern void fubar_dispatch_sync(void (^PP)(void));
void fubar() {
  __block void *voodoo;
 fubar_dispatch_sync(^(void){voodoo=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;});
}

Mark this test as Darwin only. Patch by Bill Wendling.
Mark this test as Darwin only.  Patch by Bill Wendling.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@74829 91177308-0d34-0410-b5e6-96231b3b80d8
