pr21082.C   [plain text]


/* { dg-do link } */
/* { dg-options "-fstrict-overflow" } */

void link_error();

int a[4];
long b, c;

int main()
{
	if (&a[b] - &a[c] != b - c)
		link_error();
	return 0;
}