diff options
Diffstat (limited to 'gdb/testsuite/gdb.c++/pr-1023.cc')
-rw-r--r-- | gdb/testsuite/gdb.c++/pr-1023.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.c++/pr-1023.cc b/gdb/testsuite/gdb.c++/pr-1023.cc new file mode 100644 index 00000000000..758308481dc --- /dev/null +++ b/gdb/testsuite/gdb.c++/pr-1023.cc @@ -0,0 +1,20 @@ +class myClass +{ + public: + myClass() {}; + ~myClass() {}; + void performUnblocking( short int cell_index ); + void performBlocking( int cell_index ); +}; + +void myClass::performUnblocking( short int cell_index ) {} + +void myClass::performBlocking( int cell_index ) {} + +int main () +{ + myClass mc; + mc.performBlocking (0); + mc.performUnblocking (0); +} + |