1 /* { dg-do compile } */
2 /* { dg-require-effective-target mpx } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx -O2 -Wchkp" } */
7 p
= (int *)__builtin___bnd_set_ptr_bounds (p
, sizeof (int));
8 return *(p
+ 1); /* { dg-warning "memory access check always fail" "" } */