pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git] / test / FrontendC++ / 2009-06-30-ByrefBlock.cpp
blobbe9c94fd176a8b1498927f2f2194d9b3339a0d8e
1 // Insure __block_holder_tmp is allocated on the stack. Darwin only.
2 // RUN: %llvmgxx %s -S -O2 -o - | egrep {__block_holder_tmp.*alloca}
3 // XFAIL: *
4 // XTARGET: darwin
5 // <rdar://problem/5865221>
6 // END.
7 extern void fubar_dispatch_sync(void (^PP)(void));
8 void fubar() {
9 __block void *voodoo;
10 fubar_dispatch_sync(^(void){voodoo=0;});