projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.c++
/
ref-types.cc
1
int
main2
(
void
);
2
3
void
marker1
(
void
)
4
{
5
6
}
7
8
9
10
int
main
(
void
)
11
{
12
short
s
;
13
short
&
rs
=
s
;
14
short
*
ps
;
15
short
*&
rps
=
ps
;
16
short
as
[
4
];
17
short
(&
ras
)[
4
] =
as
;
18
s
= -
1
;
19
ps
= &
s
;
20
as
[
0
] =
0
;
21
as
[
1
] =
1
;
22
as
[
2
] =
2
;
23
as
[
3
] =
3
;
24
25
#ifdef usestubs
26
set_debug_traps
();
27
breakpoint
();
28
#endif
29
marker1
();
30
31
main2
();
32
33
return
0
;
34
}
35
36
int
f
()
37
{
38
int
f1
;
39
f1
=
1
;
40
return
f1
;
41
}
42
43
int
main2
(
void
)
44
{
45
char
C
;
46
unsigned char
UC
;
47
short
S
;
48
unsigned short
US
;
49
int
I
;
50
unsigned int
UI
;
51
long
L
;
52
unsigned long
UL
;
53
float
F
;
54
double
D
;
55
char
&
rC
=
C
;
56
unsigned char
&
rUC
=
UC
;
57
short
&
rS
=
S
;
58
unsigned short
&
rUS
=
US
;
59
int
&
rI
=
I
;
60
unsigned int
&
rUI
=
UI
;
61
long
&
rL
=
L
;
62
unsigned long
&
rUL
=
UL
;
63
float
&
rF
=
F
;
64
double
&
rD
=
D
;
65
C
=
'A'
;
66
UC
=
21
;
67
S
= -
14
;
68
US
=
7
;
69
I
=
102
;
70
UI
=
1002
;
71
L
= -
234
;
72
UL
=
234
;
73
F
=
1.25
E10
;
74
D
= -
1.375E-123
;
75
I
=
f
();
76
77
return
0
;
78
79
}