# Copyright 2012-2021 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
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

standard_testfile

if {[prepare_for_testing "failed to prepare" $testfile $testfile.c]} {
    return -1
}

if {![runto_main]} {
    return -1
}

# Make sure we do not see any warnings.
gdb_test_multiple "next" "next over exit" {
    -re "$inferior_exited_re normally.\[\r\n\]+$gdb_prompt $" {
	pass "next over exit"
    }
}
