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