aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/ovsrch.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-12-08 15:31:20 +0000
committerTom Tromey <tromey@redhat.com>2011-12-08 15:31:20 +0000
commitd8ea7931936cdd95a066bfc1c1fbf0de0340ce6f (patch)
treedb049185ecbc09499b74b1361a7f01a43555a117 /gdb/testsuite/gdb.cp/ovsrch.exp
parent784867a51b37a1c8a7babd63563d3cf5bf38bc79 (diff)
downloadgdb-d8ea7931936cdd95a066bfc1c1fbf0de0340ce6f.zip
gdb-d8ea7931936cdd95a066bfc1c1fbf0de0340ce6f.tar.gz
gdb-d8ea7931936cdd95a066bfc1c1fbf0de0340ce6f.tar.bz2
* gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
condition.
Diffstat (limited to 'gdb/testsuite/gdb.cp/ovsrch.exp')
-rw-r--r--gdb/testsuite/gdb.cp/ovsrch.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/ovsrch.exp b/gdb/testsuite/gdb.cp/ovsrch.exp
index f6ad34b..b75a00c 100644
--- a/gdb/testsuite/gdb.cp/ovsrch.exp
+++ b/gdb/testsuite/gdb.cp/ovsrch.exp
@@ -30,7 +30,7 @@ proc test_class {class} {
}
# Test each overload instance twice: once quoted, once unquoted
- set conditional1 "if (a == 3)"
+ set conditional1 "if (a_param == 3)"
set conditional2 "if (A::outer::func ())"
foreach ovld [array names tests] {
set method "${class}::foo ($ovld) const"