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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr29797-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
extern void abort(void);
2
 
3
unsigned int bar(void) { return 32768; }
4
 
5
int main()
6
{
7
  unsigned int 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.