blob: 434df78ac34e55d86747aa0adce356e7d16e6d61 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { dg-require-effective-target mpx } */
/* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
/* { dg-final { scan-tree-dump-not "bnd_null_ptr_bounds" "chkp" } } */
void *
chkp_test (void *p)
{
return __builtin___bnd_null_ptr_bounds (p);
}
|