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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [constant1.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/51554
2
 
3
typedef unsigned char uint8;
4
typedef unsigned int uint32;
5
 
6
const uint32 XX[] = { 1, 3, 7 };
7
 
8
const uint8 V[] = {
9
  *(((const uint8*)&XX[0]) + 0),
10
  *(((const uint8*)&XX[0]) + 1),
11
  *(((const uint8*)&XX[0]) + 2),
12
  *(((const uint8*)&XX[0]) + 3),
13
  *(((const uint8*)&XX[1]) + 0),
14
  *(((const uint8*)&XX[1]) + 1),
15
  *(((const uint8*)&XX[1]) + 2),
16
  *(((const uint8*)&XX[1]) + 3),
17
};

powered by: WebSVN 2.1.0

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