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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [testsuite/] [gdb.base/] [async.c] - Blame information for rev 1773

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

Line No. Rev Author Line
1 1181 sfurman
 
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.