c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git] / gcc / testsuite / gcc.dg / pr51628-23.c
blob5709be60ac8a78bf9bdf25b7ea2965cd15bd3d95
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 char* f0 (struct A *p) { return &p->i; }