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

Subversion Repositories openrisc

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

powered by: WebSVN 2.1.0

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