]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-2-lbv.c
bbc578abd2c711b24b65d657160f0e7fe9dc296e
2 /* { dg-shouldfail "bounds violation" } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx" } */
12 int mpx_test (int argc
, const char **argv
)
14 int *p
= __bnd_set_ptr_bounds (buf
+ 10, sizeof (int) * 10);