diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2010-04-06 12:45:22 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2010-04-06 12:45:22 +0000 |
commit | 5984a431b363ff72faf23034f0bfb66152041b20 (patch) | |
tree | 0e3488b4f8c0c30c241bef34174cf4c66ec0605d /gdb/testsuite/gdb.cp/inherit.exp | |
parent | 41b5148fa39dd1bf25698215ee938c631ca00450 (diff) | |
download | fsf-binutils-gdb-5984a431b363ff72faf23034f0bfb66152041b20.zip fsf-binutils-gdb-5984a431b363ff72faf23034f0bfb66152041b20.tar.gz fsf-binutils-gdb-5984a431b363ff72faf23034f0bfb66152041b20.tar.bz2 |
* gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
Diffstat (limited to 'gdb/testsuite/gdb.cp/inherit.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/inherit.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/inherit.exp b/gdb/testsuite/gdb.cp/inherit.exp index a593bc6..7b90637 100644 --- a/gdb/testsuite/gdb.cp/inherit.exp +++ b/gdb/testsuite/gdb.cp/inherit.exp @@ -502,7 +502,7 @@ proc test_print_anon_union {} { set name "print type of anonymous union" set re_tag "class_with_anon_union" - set re_class "(class $re_tag \{${ws}public:|struct $re_tag\{)" + set re_class "(class $re_tag \{${ws}public:|struct $re_tag \{)" set re_fields "int one;${ws}union \{${ws}int a;${ws}long( int)? b;${ws}\};" gdb_test_multiple "ptype g_anon_union" $name { -re "type = $re_class${ws}$re_fields$nl\}$nl$gdb_prompt $" { |