blob: 8c1527025f622a1b127a90ff6aaff2389a42ce31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do run } */
/* { dg-options "-fno-check-pointer-bounds" } */
#include "mpx-check.h"
int buf[100];
int mpx_test (int argc, const char **argv)
{
assert (buf + 10 == __bnd_init_ptr_bounds (buf + 10));
return 0;
}
|