blob: 1af7b1dc710b777c5fb99dac3befa7bd9e35082a [file] [log] [blame]
/* APPLE LOCAL file radar 6083129 byref escapes */
/* { dg-options "-fblocks" } */
/* { dg-do run } */
extern "C" void abort(void);
static int count;
static void _Block_byref_release(void * arg) {
++count;
}
int main() {
{
__byref int O1;
int i;
for (i = 1; i <= 5; i++)
{
__byref int I1;
}
if (count != 5)
abort();
}
return count - 6;
}