PR testsuite/86649
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr21082.C
blobd6c2fa1d2b5e3e4a8b915363979d4f771ccee1d7
1 /* { dg-do link } */
2 /* { dg-options "-fstrict-overflow" } */
4 void link_error();
6 int a[4];
7 __INTPTR_TYPE__ b, c;
9 int main()
11         if (&a[b] - &a[c] != b - c)
12                 link_error();
13         return 0;