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

Subversion Repositories openrisc

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

powered by: WebSVN 2.1.0

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