1 /* { dg-lto-do link } */
2 /* { dg-require-effective-target mpx } */
3 /* { dg-lto-options { { -O2 -flto -fcheck-pointer-bounds -mmpx } } } */
4 
5 int test1 (const char *);
6 
main(int argc,const char ** argv)7 int main (int argc, const char **argv)
8 {
9   return test1 (argv[0]);
10 }
11