gdb/testsuite/

* gdb.cp/anon-union.exp (pass): Rename to ...
	(print z 2): ... here.
This commit is contained in:
Jan Kratochvil 2010-06-02 22:24:15 +00:00
parent cb91c06acc
commit 31e43e98bf
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
* gdb.cp/ref-types.exp (pass, pass, pass): Rename to ... * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
(print value of rUC, print value of rI, print value of UI): ... here. (print value of rUC, print value of rI, print value of UI): ... here.
* gdb.cp/anon-union.exp (pass): Rename to ...
(print z 2): ... here.
2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 Michael Snyder <msnyder@vmware.com>

View file

@ -164,7 +164,7 @@ gdb_test "next" "55\[ \t\]*int j = 0;" "next 5"
gdb_test "print w" "\\$\[0-9\]* = 45" "print w 2" gdb_test "print w" "\\$\[0-9\]* = 45" "print w 2"
# See if z shows the same value # See if z shows the same value
gdb_test "print z" "\\$\[0-9\]* = 45" pass "print z 2" gdb_test "print z" "\\$\[0-9\]* = 45" "print z 2"
# Set the anon union member # Set the anon union member
gdb_test_no_output "set var z = 27" "set var z" gdb_test_no_output "set var z = 27" "set var z"