Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr105969.c
blob52c63fc2efe6ae6f8012d2b7c12e3787e418f32f
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
4 struct A
6 char a[0][0][0];
7 };
8 extern struct A b[][2];
9 void f (void)
11 __builtin_sprintf (b[0][0].a[1][0], "%s", b[0][0].a[1][0]); /* { dg-warning "past the end" } */
12 /* { dg-warning "overlaps destination" "" { target *-*-* } .-1 } */