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