From: Tom Tromey Date: Sat, 4 Jan 2025 17:48:07 +0000 (-0700) Subject: Remove obsolete test from gdb.cp/var-tag.exp X-Git-Tag: binutils-2_45~1770 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d303b5799790bfcb6804386c395acbaf584f064;p=thirdparty%2Fbinutils-gdb.git Remove obsolete test from gdb.cp/var-tag.exp There is a test in gdb.cp/var-tag.exp that is kfail'd. I happened across this while working on another series and found that the PR it referenced was closed as invalid. On that basis I think the test should be deleted. Reviewed-By: Keith Seitz --- diff --git a/gdb/testsuite/gdb.cp/var-tag.exp b/gdb/testsuite/gdb.cp/var-tag.exp index 37a5ba2dc2d..d879328221c 100644 --- a/gdb/testsuite/gdb.cp/var-tag.exp +++ b/gdb/testsuite/gdb.cp/var-tag.exp @@ -98,13 +98,4 @@ with_test_prefix "in C::f" { do_global_tests c } -# Another hard-to-guess-the-users-intent bug... -# It would be really nice if we could query the user! -with_test_prefix "global collision" { - gdb_test_no_output "set language c++" - setup_kfail "c++/16463" "*-*-*" - gdb_test "print global" "= 3" - - # ... with a simple workaround: - gdb_test "print ::global" "= 3" -} +gdb_test "print ::global" "= 3"