1 /* { dg-do compile } */
2 /* { dg-options "-Wno-pedantic -Waddress-of-packed-member" } */
3 struct a { } __attribute__((__packed__));
4 void c (struct a **);
5 void d (const struct a *b) { c ((struct a **) b); }
6 /* { dg-warning "may result in an unaligned pointer value" "" { target { ! default_packed } } .-1 } */