]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove obsolete test from gdb.cp/var-tag.exp
authorTom Tromey <tom@tromey.com>
Sat, 4 Jan 2025 17:48:07 +0000 (10:48 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 1 Feb 2025 00:29:03 +0000 (17:29 -0700)
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 <keiths@redhat.com>
gdb/testsuite/gdb.cp/var-tag.exp

index 37a5ba2dc2d989eb81c6d3ff122200be3739e39e..d879328221c33378af073c7fe13fabf8f418865d 100644 (file)
@@ -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"