diff options
author | Siva Chandra <sivachandra@chromium.org> | 2014-09-09 06:46:14 -0700 |
---|---|---|
committer | Siva Chandra <sivachandra@chromium.org> | 2014-10-15 04:27:13 -0700 |
commit | 2d1c107c1b8835f4e85c35320d8595a4a6fcaebe (patch) | |
tree | 3d49fc98945aeaeb99f55a58e29217def090c600 /gdb/testsuite/gdb.cp/non-trivial-retval.exp | |
parent | 82c48ac732edb0155288a93ef3dd39625ff2d2e1 (diff) | |
download | gdb-2d1c107c1b8835f4e85c35320d8595a4a6fcaebe.zip gdb-2d1c107c1b8835f4e85c35320d8595a4a6fcaebe.tar.gz gdb-2d1c107c1b8835f4e85c35320d8595a4a6fcaebe.tar.bz2 |
Add new non-trial return value tests.
gdb/testsuite/ChangeLog:
* gdb.cp/non-trivial-retval.cc: Add new test cases.
* gdb.cp/non-trivial-retval.exp: Add new tests.
Diffstat (limited to 'gdb/testsuite/gdb.cp/non-trivial-retval.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/non-trivial-retval.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/non-trivial-retval.exp b/gdb/testsuite/gdb.cp/non-trivial-retval.exp index 976b99f..7934946 100644 --- a/gdb/testsuite/gdb.cp/non-trivial-retval.exp +++ b/gdb/testsuite/gdb.cp/non-trivial-retval.exp @@ -32,3 +32,5 @@ gdb_continue_to_breakpoint "Break here" gdb_test "p f1 (i1, i2)" ".* = {a = 123}" "p f1 (i1, i2)" gdb_test "p f2 (i1, i2)" ".* = {b = 123}" "p f2 (i1, i2)" +gdb_test "p f3 (i1, i2)" ".* = {.* c = 123}" "p f3 (i1, i2)" +gdb_test "p f4 (i1, i2)" ".* = {.* e = 123}" "p f4 (i1, i2)" |