Sign in
fuchsia
/
third_party
/
binutils-gdb
/
a0c57d4e1a1ea72584411af5ea6277ae5333bef4
/
.
/
gdb
/
testsuite
/
gdb.cp
/
annota2.cc
blob: 234752e49af20230f41aee10ab4a37bf03e78cde [
file
] [
log
] [
blame
]
#include
<stdio.h>
class
A
{
public
:
int
x
;
int
y
;
int
foo
(
int
arg
);
};
int
A
::
foo
(
int
arg
)
{
x
+=
arg
;
return
arg
*
2
;
}
int
main
()
{
A a
;
a
.
x
=
0
;
a
.
x
=
1
;
a
.
y
=
2
;
printf
(
"a.x is %d\n"
,
a
.
x
);
return
0
;
}