diff options
Diffstat (limited to 'gdb/testsuite/gdb.cp/method2.cc')
-rw-r--r-- | gdb/testsuite/gdb.cp/method2.cc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/method2.cc b/gdb/testsuite/gdb.cp/method2.cc new file mode 100644 index 0000000..e6cb809 --- /dev/null +++ b/gdb/testsuite/gdb.cp/method2.cc @@ -0,0 +1,27 @@ +struct A +{ + void method (); + void method (int a); + void method (A* a); +}; + +void +A::method () +{ +} + +void +A::method (int a) +{ +} + +void +A::method (A* a) +{ +} + +int +main (int argc, char** argv) +{ + return 0; +} |