blob: 61459bca7e56c84b0a2b23813e7e70536b00dbf2 [file] [log] [blame]
void abort (void);
char q;
void *a[2];
void foo (char *p)
{
int i;
for (i = 0; i < 2; i++)
a[i] += p - &q;
}
int main (void)
{
int i;
foo (&q);
for (i = 0; i < 2; i ++)
if (a[i])
abort ();
return 0;
}