blob: 70b49e312b6aae3fad8fc800de7e3ecc3f0c3ad4 (
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"
char buf[100];
int mpx_test (int argc, const char **argv)
{
assert ((void *)0 == __bnd_get_ptr_lbound (buf));
return 0;
}
|