]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/testsuite/icf_safe_so_test.cc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gold / testsuite / icf_safe_so_test.cc
index c3073281851c6299a3349a14094a04691fcec07d..5844aeca41ad57ae3894cfce94ddc5cad09ad7dd 100644 (file)
@@ -1,6 +1,6 @@
 // icf_safe_so_test.cc -- a test case for gold
 
-// Copyright (C) 2010-2019 Free Software Foundation, Inc.
+// Copyright (C) 2010-2021 Free Software Foundation, Inc.
 // Written by Sriraman Tallam <tmsriram@google.com>.
 
 // This file is part of gold.
@@ -61,10 +61,18 @@ int bar_glob()
   return 2;
 }
 
+static int
+bar_static()
+{
+  return 2;
+}
+
 int main()
 {
   int (*p)() = foo_glob;
   (void)p;
+  p = bar_static;
+  (void)p;
   foo_static();
   foo_prot();
   foo_hidden();