]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.target/i386/mpx/builtin-bnd-set-ptr-bounds-1.c
Daily bump.
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / i386 / mpx / builtin-bnd-set-ptr-bounds-1.c
CommitLineData
ee8f136a
IE
1/* { dg-do run } */
2/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
3
4
5#include "mpx-check.h"
6
7int buf[100];
8
9int mpx_test (int argc, const char **argv)
10{
11 assert (buf + 10 == __bnd_set_ptr_bounds (buf + 10, 4));
12 return 0;
13}