summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/default-reloc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/default-reloc.ll')
-rw-r--r--test/CodeGen/ARM/default-reloc.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/default-reloc.ll b/test/CodeGen/ARM/default-reloc.ll
new file mode 100644
index 0000000000000..0b80b73061bca
--- /dev/null
+++ b/test/CodeGen/ARM/default-reloc.ll
@@ -0,0 +1,5 @@
+; RUN: llc -mtriple=armv7-linux-gnu -O0 < %s
+@a = external global i32
+define i32* @get() {
+ ret i32* @a
+}