2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr71458.c
blob27e7764b5a075da135a590429ed60d8205754078
1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -fsanitize=bounds" } */
3 /* { dg-error "-fcheck-pointer-bounds is not supported with -fsanitize=bounds" "" { target *-*-* } 0 } */
5 enum {} a[0];
6 void fn1(int);
7 void fn2() { fn1(a[-1]); }