1234353Sdim# Copyright 2020 Free Software Foundation, Inc. 2193323Sed 3193323Sed# This program is free software; you can redistribute it and/or modify 4193323Sed# it under the terms of the GNU General Public License as published by 5193323Sed# the Free Software Foundation; either version 3 of the License, or 6193323Sed# (at your option) any later version. 7193323Sed# 8193323Sed# This program is distributed in the hope that it will be useful, 9193323Sed# but WITHOUT ANY WARRANTY; without even the implied warranty of 10193323Sed# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11193323Sed# GNU General Public License for more details. 12193323Sed# 13193323Sed# You should have received a copy of the GNU General Public License 14193323Sed# along with this program. If not, see <http://www.gnu.org/licenses/>. 15193323Sed 16193323Sedstandard_testfile persistent-lang.cc 17193323Sed 18193323Sedif {[build_executable "failed to prepare" $testfile $srcfile debug]} { 19193323Sed return -1 20193323Sed} 21193323Sed 22193323Sedclean_restart 23193323Sed 24193323Sedset auto_cpp \ 25193323Sed {The current source language is "auto; currently c\+\+"\.} 26193323Sed 27193323Sedgdb_load ${binfile} 28210299Sedgdb_test "show language" $auto_cpp \ 29210299Sed "language auto/c++ after load" 30193323Sed 31193323Sed# Verify that partial symtab expansion has not taken place for 32193323Sed# persistent-lang.cc 33210299Sed 34210299Sedverify_psymtab_expanded persistent-lang.cc no 35193323Sed