1 /* On Solaris, #pragma pack should accept macro expansion. */
3 /* { dg-do run { target *-*-solaris2.* } } */
5 extern void abort (void);
14 #pragma pack(ALIGNHIGH)
21 #pragma pack(ALIGN1(4))
28 #pragma pack(ALIGN2(2))
43 if(sizeof(sixteen
) < sizeof(defaultalign
)) abort();
44 if(sizeof(two
) >= sizeof(defaultalign
)) abort();
45 if(sizeof(three
) <= sizeof(two
)) abort();
46 if(sizeof(resetalign
) != sizeof(defaultalign
)) abort();