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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [930111-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
main()
2
{
3
  if (wwrite((long long) 0) != 123)
4
    abort();
5
  exit(0);
6
}
7
 
8
int
9
wwrite(long long i)
10
{
11
  switch(i)
12
    {
13
    case 3:
14
    case 10:
15
    case 23:
16
    case 28:
17
    case 47:
18
      return 0;
19
    default:
20
      return 123;
21
    }
22
}

powered by: WebSVN 2.1.0

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