repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gdb6
/
gdb
/
testsuite
/
gdb.cp
/
casts.cc
blob
831add94418833aae1dced68df7333e7c935fccb
1
struct
A
2
{
3
int
a
;
4
A
(
int
aa
):
a
(
aa
) {}
5
};
6
7
struct
B
:
public
A
8
{
9
int
b
;
10
B
(
int
aa
,
int
bb
):
A
(
aa
),
b
(
bb
) {}
11
};
12
13
int
14
main
(
int
argc
,
char
**
argv
)
15
{
16
A
*
a
=
new
B
(
42
,
1729
);
17
B
*
b
= (
B
*)
a
;
18
19
return
0
;
/* breakpoint spot: casts.exp: 1 */
20
}