mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 17:51:57 +00:00
1105b7eff4
* gdb.cp: New directory. * gdb.cp/*: Copy from gdb.c++/*. * gdb.c++/*: Remove. * Makefile.in: Change gdb.c++ to gdb.cp. * configure.in: Ditto. * configure: Regnerate.
15 lines
215 B
C++
15 lines
215 B
C++
/* 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
|
|
}
|