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