-# Copyright 2009-2014 Free Software Foundation, Inc.
+# Copyright 2009-2023 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
clean_restart $testfile
-gdb_test_no_output "set language c++"
gdb_test "ptype inherited" "type = class inherited .*"