2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / chkp-builtins-4.c
blob434df78ac34e55d86747aa0adce356e7d16e6d61
1 /* { dg-do compile } */
2 /* { dg-require-effective-target mpx } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx -fdump-tree-chkp" } */
4 /* { dg-final { scan-tree-dump-not "bnd_null_ptr_bounds" "chkp" } } */
6 void *
7 chkp_test (void *p)
9 return __builtin___bnd_null_ptr_bounds (p);