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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr42269-2.c] - Blame information for rev 297

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

Line No. Rev Author Line
1 297 jeremybenn
/* Make sure that language + abi extensions in passing S interoperate.  */
2
 
3
static long long __attribute__((noinline))
4
foo (unsigned short s)
5
{
6
  return (short) s;
7
}
8
 
9
unsigned short s = 0xFFFF;
10
 
11
int
12
main (void)
13
{
14
  return foo (s) + 1 != 0;
15
}

powered by: WebSVN 2.1.0

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