# gdb_index_test_comm.sh -- common code for --gdb-index tests.
-# Copyright 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2021 Free Software Foundation, Inc.
# Written by Cary Coutant <ccoutant@google.com>.
# This file is part of gold.
STDOUT="$1"
-check $STDOUT "^Version [45]"
+check $STDOUT "^Version [4-7]"
# Look for the symbols we know should be in the symbol table.
check $STDOUT "^\[ *[0-9]*\] two::c2v1:"
check $STDOUT "^\[ *[0-9]*\] two::c2v2:"
check $STDOUT "^\[ *[0-9]*\] anonymous_union_var:"
+check $STDOUT "^\[ *[0-9]*\] inline_func_1:"
exit 0