* gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in

condition.
This commit is contained in:
Tom Tromey 2011-12-08 15:31:20 +00:00
parent 784867a51b
commit d8ea793193
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-08 Tom Tromey <tromey@redhat.com>
* gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
condition.
2011-12-07 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfind.exp: Update for output changes.

View File

@ -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"