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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr29797-2.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
extern void abort(void);
2
 
3
unsigned long bar(void) { return 32768; }
4
 
5
int main()
6
{
7
  unsigned long nStyle = bar ();
8
  if (nStyle & 32768)
9
    nStyle |= 65536;
10
  if (nStyle != (32768 | 65536))
11
    abort ();
12
  return 0;
13
}
14
 

powered by: WebSVN 2.1.0

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