/* PR c/11446: packed on a struct takes precedence over aligned on the type of a field. *//* { dg-do run } */externvoidabort(void);structA{doubled;}__attribute__((aligned));structB{charc;structAa;}__attribute__((packed));intmain(){if(sizeof(structB)!=sizeof(char)+sizeof(structA))abort();return0;}