Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mpx / builtin-bnd-narrow-ptr-bounds-3-nov.c
blob0c13b123d8ff2ecb58b9672a7f595b054830a2bc
1 /* { dg-do run } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx" } */
5 #include "mpx-check.h"
7 int buf[100];
9 int mpx_test (int argc, const char **argv)
11 int *p = __bnd_narrow_ptr_bounds (buf + 10, buf, sizeof (int) * 100);
12 p[0] = argc;
13 p[89] = argc;
14 return 0;