blob: bcc1198b5b1def0472145cd7ee68ce4971a5ac25 (
plain)
1
2
3
4
5
6
7
8
9
|
/* { dg-do compile } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
/* { dg-final { scan-tree-dump-not "bnd_init_ptr_bounds" "chkp" } } */
void *
chkp_test (void *p)
{
return __builtin___bnd_init_ptr_bounds (p);
}
|