Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51628-17.c
blob42dc9d745dcf0420e5b5168e3bce11841b9feef7
1 /* PR c/51628. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wno-incompatible-pointer-types" } */
5 struct A {
6 int i;
7 } __attribute__ ((packed));
9 long* f8 (struct A *p) { return &p->i; }
10 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */