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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [async.c] - Blame information for rev 178

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

Line No. Rev Author Line
1 24 jeremybenn
 
2
 
3
#ifdef PROTOTYPES
4
int
5
foo (void)
6
#else
7
int
8
foo ()
9
#endif
10
{
11
 int x, y;
12
 
13
 x = 5;
14
 y = 3;
15
 
16
 return x + y;
17
}
18
 
19
#ifdef PROTOTYPES
20
int
21
main (void)
22
#else
23
int
24
main ()
25
#endif
26
{
27
 int y, z;
28
 
29
 y = 2;
30
 z = 9;
31
 y = foo ();
32
 z = y;
33
 y = y + 2;
34
 y = baz ();
35
 return 0;
36
}
37
 
38
 
39
#ifdef PROTOTYPES
40
int
41
baz (void)
42
#else
43
int
44
baz ()
45
#endif
46
{
47
  return 5;
48
}

powered by: WebSVN 2.1.0

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