blob: 055b61d649c4fc74f3ec6141aa42f22c1180ed67 (
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"
int buf[100];
int mpx_test (int argc, const char **argv)
{
__bnd_chk_ptr_bounds (buf, sizeof (int) * 100);
return 0;
}
|