1 /* { dg-do compile { target { ! x32 } } } */
2 /* { dg-options "-fcheck-pointer-bounds -mmpx -Wno-implicit-function-declaration" } */
3 
f(char * s1,char * s2)4 void f (char *s1, char *s2)
5 {
6   int z = 5;
7 
8   struct { char a[z]; } x;
9 
10   s1[0] = s2[0];
11 
12   foo (x, x);
13 }
14