diff options
author | Tom Tromey <tromey@redhat.com> | 2011-08-02 20:59:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-08-02 20:59:44 +0000 |
commit | c26106c40af7cf27bf2dea59c7f31d2cfca152b4 (patch) | |
tree | 6c6e938752750c1d602fc1a8e29106dcab0ec02c /gdb/testsuite/gdb.cp | |
parent | 3929df0978df109c4d05f41763b2c47dacd33d39 (diff) | |
download | gdb-c26106c40af7cf27bf2dea59c7f31d2cfca152b4.zip gdb-c26106c40af7cf27bf2dea59c7f31d2cfca152b4.tar.gz gdb-c26106c40af7cf27bf2dea59c7f31d2cfca152b4.tar.bz2 |
PR gdb/11289:
* gdb.cp/overload.exp: Fix regexps. Remove kfails.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/overload.exp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp index 8f312e4..adfd770 100644 --- a/gdb/testsuite/gdb.cp/overload.exp +++ b/gdb/testsuite/gdb.cp/overload.exp @@ -315,13 +315,10 @@ gdb_test "list '${srcfile}:intToChar(char)'" "int intToChar.*" gdb_test "list '${srcfile}':intToChar(char)" "int intToChar.*" gdb_test "list '${srcfile}':'intToChar(char)'" "int intToChar.*" -# And with filename and namespace... which does not work. +# And with filename and namespace. -setup_kfail gdb/11289 *-*-* -gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg" - -setup_kfail gdb/11289 *-*-* -gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg" +gdb_test "list ${srcfile}:foo::overloadfnarg(int)" "int foo::overloadfnarg.*}" +gdb_test "list ${srcfile}:'foo::overloadfnarg(int)'" "int foo::overloadfnarg.*}" # Now some tests to see how overloading and namespaces interact. |