summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20020530-1.c
blob: b2d0ecda511444d993146a8dd23faeb15dafeae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR c/6809
   Test -fverbose-asm with unnamed fields.  */
/* { dg-do compile } */
/* { dg-options "-fverbose-asm" } */

typedef union U
{
  struct
  {
    unsigned int a;
    int b;
  };
  long long c;
} *T;

int foo (T x)
{
  int r = x->a + x->b;
  return r;
}