aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-09-08 23:41:40 +0000
committerDaniel Jacobowitz <drow@false.org>2010-09-08 23:41:40 +0000
commit5e1617b13f13c2de52e23a947ef85bcdb99a5b05 (patch)
tree2ece6df8728932f9ca5df36c3332806d5437bdb3 /gdb/testsuite/gdb.cp
parent60430eff89ca096d1e5fc83654a29a588426016d (diff)
downloadgdb-5e1617b13f13c2de52e23a947ef85bcdb99a5b05.zip
gdb-5e1617b13f13c2de52e23a947ef85bcdb99a5b05.tar.gz
gdb-5e1617b13f13c2de52e23a947ef85bcdb99a5b05.tar.bz2
* gdb.cp/templates.exp (test_template_args): Allow "struct".
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/templates.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp
index c531307..c17cf3d 100644
--- a/gdb/testsuite/gdb.cp/templates.exp
+++ b/gdb/testsuite/gdb.cp/templates.exp
@@ -200,10 +200,10 @@ proc test_template_args {} {
set empty_re "Empty *<void *\\(FunctionArg *<int>\\)>"
gdb_test "ptype empty" \
- "type = class $empty_re {.*<no data fields>.*}"
+ "type = (struct|class) $empty_re {.*<no data fields>.*}"
gdb_test "ptype arg" \
- "type = class FunctionArg<int> {.*int method\\($empty_re \\&\\);.*}"
+ "type = (struct|class) FunctionArg<int> {.*int method\\($empty_re \\&\\);.*}"
}
proc do_tests {} {