Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / mpx / builtin-bnd-chk-ptr-bounds-1-lbv.c
blob140848e015845138682909c3cee9abbfbea6277a
1 /* { dg-do run } */
2 /* { dg-shouldfail "bounds violation" } */
3 /* { dg-options "-fcheck-pointer-bounds -mmpx" } */
6 #define SHOULDFAIL
8 #include "mpx-check.h"
10 int buf[100];
12 int mpx_test (int argc, const char **argv)
14 __bnd_chk_ptr_bounds (buf - 1, sizeof (int));
15 return 0;