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