]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.c++/printmethod.cc
This commit was manufactured by cvs2svn to create branch
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.c++ / printmethod.cc
CommitLineData
d026a66d 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}