OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr39202.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef struct
2
{
3
  union
4
    {
5
      int * aaa;
6
    } u;
7
} t_a;
8
 
9
typedef struct
10
{
11
  unsigned bbb : 1;
12
} t_b;
13
 
14
typedef struct
15
{
16
  int ccc;
17
  t_a ddd;
18
  t_b eee;
19
  int fff;
20
} t_c;
21
 
22
typedef struct t_d
23
{
24
  t_c f1;
25
  t_c f2;
26
} t_d;
27
 
28
void foo (void)
29
{
30
  t_d ggg;
31
  ggg.f1 = ggg.f2;
32
}
33
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.