2004-06-17 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / printmethod.cc
CommitLineData
e70d6e3f
DC
1/* Create some objects, and try to print out their methods. */
2
3class A {
4public:
5 virtual void virt() {};
6 void nonvirt() {};
7};
8
9int main()
10{
11 A *theA = new A;
12
13 return 0; // breakpoint: constructs-done
14}
This page took 0.217762 seconds and 4 git commands to generate.