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/] [20030203-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
void f(int);
2
int do_layer3(int single)
3
{
4
  int stereo1;
5
 
6
  if(single >= 0) /* stream is stereo, but force to mono */
7
    stereo1 = 1;
8
  else
9
    stereo1 = 2;
10
  f(single);
11
 
12
  return stereo1;
13
}
14
 
15
extern void abort ();
16
int main()
17
{
18
  if (do_layer3(-1) != 2)
19
    abort ();
20
  return 0;
21
}
22
 
23
void f(int i) {}

powered by: WebSVN 2.1.0

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