projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
[gdbserver] Move malloc.h include to server.h.
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.mi
/
gdb792.cc
1
#include <string.h>
2
#include <stdio.h>
3
4
class
Q
5
{
6
int
v
;
7
protected
:
8
int
qx
;
9
int
qy
;
10
int
w
;
11
};
12
13
class
B
14
{
15
int
k
;
16
public
:
17
int
bx
;
18
int
by
;
19
};
20
21
class
A
22
{
23
int
u
;
24
25
public
:
26
A
()
27
{
28
};
29
int
x
;
30
char
buffer
[
10
];
31
32
protected
:
33
int
y
;
34
B b
;
35
36
private
:
37
float
z
;
38
};
39
40
class
C
:
public
A
41
{
42
public
:
43
C
()
44
{
45
};
46
int
zzzz
;
47
private
:
48
int
ssss
;
49
};
50
51
int
main
()
52
{
53
A a
;
54
C c
;
55
Q q
;
56
strcpy
(
a
.
buffer
,
"test"
);
57
printf
(
"%.10s
\n
"
,
a
.
buffer
);
58
return
0
;
59
}
This page took
0.029299 seconds
and
4
git commands to generate.