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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr48517.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
/* PR c/48517 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
 
5
void bar (const unsigned short *);
6
 
7
void
8
foo (void)
9
{
10
  static const unsigned short array[] = (const unsigned short []) { 0x0D2B };
11
  const unsigned short *ptr = array;
12
  bar (ptr);
13
}

powered by: WebSVN 2.1.0

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