]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/testsuite/copy_test_relro_1.cc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gold / testsuite / copy_test_relro_1.cc
index c5f280b476c11ba7362d8545ac710a925c4b78c6..4afb2d95b53491f0be0a7e82199776726a28a65b 100644 (file)
@@ -1,6 +1,6 @@
 // copy_test_relro_1.cc -- test copy relocs variables for gold
 
-// Copyright (C) 2016-2017 Free Software Foundation, Inc.
+// Copyright (C) 2016-2022 Free Software Foundation, Inc.
 // Written by Cary Coutant <ccoutant@gmail.com>.
 
 // This file is part of gold.
 // MA 02110-1301, USA.
 
 extern int a;
-extern int* const p = &a;
 
-extern const int b[] = { 100, 200, 300, 400 };
+extern int* const p;
+extern const int b[];
+extern const int c;
+extern const int* const q;
 
-extern const int c = 500;
+int* const p = &a;
 
-extern const int* const q = &c;
+const int b[] = { 100, 200, 300, 400 };
+
+const int c = 500;
+
+const int* const q = &c;