1 /* { dg-do compile { target i?86-*-* sparc*-*-* x86_64-*-* } } */
2 /* { dg-options "-O2" } */
4 extern void abort (void);
5 extern void exit (int);
7 typedef enum { false, true } __attribute__ ((packed)) boolean;
10 A0 = 0, A1 = 1, A2 = 2
11 } __attribute__((packed)) A:3;
13 B0 = 0, B1 = 1, B2 = 2
14 } __attribute__((packed)) B:3;
19 foo x = { A2, B1, false, true };
23 if (sizeof (foo) != 2 || __alignof__ (foo) != 1)