* gas/config/tc-avr.c: Change ISA for devices with USB support to
[external/binutils.git] / gdb / testsuite / gdb.base / anon.c
1 /* Test of anonymous union in a struct.  */
2
3 #include <string.h>
4
5 struct outer
6 {
7   int one;
8   int two;
9
10   struct
11   {
12     union {
13       int three : 3;
14       int four : 4;
15     };
16
17     union {
18       int five : 3;
19       int six : 4;
20     };
21   } data;
22 };
23
24 int main ()
25 {
26   struct outer val;
27
28   memset (&val, 0, sizeof (val));
29   val.data.six = 6;
30
31   return 0;                     /* break here */
32 }