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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001017-2.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
void
2
fn_4parms (unsigned char a, long *b, long *c, unsigned int *d)
3
{
4
  if (*b != 1 || *c != 2 || *d != 3)
5
    abort ();
6
}
7
 
8
int
9
main ()
10
{
11
  unsigned char a = 0;
12
  unsigned long b = 1, c = 2;
13
  unsigned int d = 3;
14
 
15
  fn_4parms (a, &b, &c, &d);
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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