1/* { dg-do compile { target { ! x32 } } } */
2/* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
3/* { dg-final { scan-tree-dump-not "bnd_set_ptr_bounds" "chkp" } } */
4/* { dg-final { cleanup-tree-dump "chkp" } } */
5
6void *
7chkp_test (void *p)
8{
9  return __builtin___bnd_set_ptr_bounds (p, 10);
10}
11