aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/cross3.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/cross3.c')
-rw-r--r--ld/testsuite/ld-scripts/cross3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/cross3.c b/ld/testsuite/ld-scripts/cross3.c
new file mode 100644
index 0000000..1848c32
--- /dev/null
+++ b/ld/testsuite/ld-scripts/cross3.c
@@ -0,0 +1,7 @@
+int i = 4;
+
+int
+foo ()
+{
+ return i;
+}