OSDN Git Service

* convert.c (convert_to_integer): Convert (long)round -> lround,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20011008-2.c
1 /* { dg-do run } */
2 /* { dg-options "-O0" } */
3
4 struct { union {int x; int y;}; int q; } b;
5 union { struct {int x;}; int q; } e;
6
7 main()
8 {
9   b.y = 10;
10   b.x = 15;
11   if (b.y != 15)
12     abort();
13
14   e.x = 10;
15   e.q = 15;
16   if (e.x != 15)
17     abort();
18
19   exit(0);
20 }