Sign in
gnu
/
binutils-gdb
/
fd870b4d780a8fceea8a7e35a94d74acbff2b238
/
.
/
gdb
/
testsuite
/
gdb.c++
/
printmethod.cc
blob: d32e1b1d1c47aa45b3e2daf1b32777832be6cb07 [
file
] [
log
] [
blame
]
/* Create some objects, and try to print out their methods. */
class
A
{
public
:
virtual
void
virt
()
{};
void
nonvirt
()
{};
};
int
main
()
{
A
*
theA
=
new
A
;
return
0
;
// breakpoint: constructs-done
}