aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-04-01 16:26:37 +0000
committerPedro Alves <palves@redhat.com>2011-04-01 16:26:37 +0000
commitd0c4d64237a01d1f05677ebe7bf69290e2fef357 (patch)
tree56a9ef4361a28caf5e95953922dfbe189c30298c /gdb/testsuite/gdb.cp
parent3352110bf1be134cbf9373545ccca42b9e16f778 (diff)
downloadgdb-d0c4d64237a01d1f05677ebe7bf69290e2fef357.zip
gdb-d0c4d64237a01d1f05677ebe7bf69290e2fef357.tar.gz
gdb-d0c4d64237a01d1f05677ebe7bf69290e2fef357.tar.bz2
gdb/testsuite/
* gdb.cp/cpexprs.exp (Overloaded methods): No longer try the base::overload(void) method without specifying "const".
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/cpexprs.exp7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp
index 0d6dd05..0776456 100644
--- a/gdb/testsuite/gdb.cp/cpexprs.exp
+++ b/gdb/testsuite/gdb.cp/cpexprs.exp
@@ -196,12 +196,7 @@ add {base::~base} \
- \
-
-# Overloaded methods (all are const -- we try to use the void
-# method with and without specifying "const")
-add {base::overload(void)} \
- {int (const base * const)} \
- - \
- {base::overload(void) const}
+# Overloaded methods (all are const)
add {base::overload(void) const} \
{int (const base * const)} \
- \