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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [960302-1.c] - Blame information for rev 856

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

Line No. Rev Author Line
1 149 jeremybenn
long a = 1;
2
 
3
foo ()
4
{
5
  switch (a % 2 % 2 % 2 % 2 % 2 % 2 % 2 % 2)
6
    {
7
    case 0:
8
      return 0;
9
    case 1:
10
      return 1;
11
    default:
12
      return -1;
13
    }
14
}
15
 
16
main ()
17
{
18
  if (foo () != 1)
19
    abort ();
20
  exit (0);
21
}

powered by: WebSVN 2.1.0

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