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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20021111-1.c] - Blame information for rev 154

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Origin: PR c/8467 */
2
 
3
extern void abort (void);
4
extern void exit (int);
5
 
6
int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type);
7
 
8
int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type)
9
{
10
  static int i = 0;
11
 
12
  if (!conn)
13
    return 0;
14
 
15
  if (type == 0xffff)
16
    {
17
      return 0;
18
    }
19
 
20
  if (i >= 1)
21
    abort ();
22
 
23
  i++;
24
  return aim_callhandler(sess, conn, family, (unsigned short) 0xffff);
25
}
26
 
27
int main (void)
28
{
29
  aim_callhandler (0, 1, 0, 0);
30
  exit (0);
31
}

powered by: WebSVN 2.1.0

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