diff options
Diffstat (limited to 'gdb/testsuite/gdb.cp/member-ptr.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/member-ptr.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/member-ptr.exp b/gdb/testsuite/gdb.cp/member-ptr.exp index 110497b..5b91bcb 100644 --- a/gdb/testsuite/gdb.cp/member-ptr.exp +++ b/gdb/testsuite/gdb.cp/member-ptr.exp @@ -628,3 +628,7 @@ gdb_test "print null_pmi = 0" "$vhn = NULL" gdb_test "print null_pmf" "$vhn = NULL" gdb_test "print null_pmf = &A::foo" "$vhn = \\(int \\(A::\\*\\)\\(A \\*( const)?, int\\)\\) $hex <A::foo ?\\(int\\)>" gdb_test "print null_pmf = 0" "$vhn = NULL" + +# Print with a format, bypassing the direct call to the scalar +# printer. See PR c++/29243. +gdb_test "print/x contain" " = {member = $hex}" |