aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/copy_test_relro_1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/copy_test_relro_1.cc')
-rw-r--r--gold/testsuite/copy_test_relro_1.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/testsuite/copy_test_relro_1.cc b/gold/testsuite/copy_test_relro_1.cc
index 61b92ab2ee..c5f280b476 100644
--- a/gold/testsuite/copy_test_relro_1.cc
+++ b/gold/testsuite/copy_test_relro_1.cc
@@ -24,3 +24,7 @@ extern int a;
extern int* const p = &a;
extern const int b[] = { 100, 200, 300, 400 };
+
+extern const int c = 500;
+
+extern const int* const q = &c;