aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr22001-1a.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr22001-1a.c')
-rw-r--r--ld/testsuite/ld-i386/pr22001-1a.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr22001-1a.c b/ld/testsuite/ld-i386/pr22001-1a.c
new file mode 100644
index 0000000..2b55ea8
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr22001-1a.c
@@ -0,0 +1,13 @@
+int copy = 1;
+
+int
+get_copy ()
+{
+ return copy;
+}
+
+int *
+get_copy_p ()
+{
+ return ©
+}