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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [anon2.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do run  }
2
extern "C" void abort (void);
3
 
4
static union {
5
  int x1;
6
  long x2;
7
  short x3;
8
  long x4;
9
};
10
 
11
static union {
12
  union {
13
    union {
14
      int z;
15
    };
16
  };
17
  union {
18
    union {
19
      double d;
20
      int i;
21
    };
22
  };
23
};
24
 
25
 
26
int main()
27
{
28
  z = 3;
29
  if (i != 3)
30
    abort ();
31
  d = 2.5;
32
}

powered by: WebSVN 2.1.0

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