summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2002-08-19-DataPointer.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2002-08-19-DataPointer.ll')
-rw-r--r--test/CodeGen/CBackend/2002-08-19-DataPointer.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2002-08-19-DataPointer.ll b/test/CodeGen/CBackend/2002-08-19-DataPointer.ll
new file mode 100644
index 000000000000..7ae13ec54c30
--- /dev/null
+++ b/test/CodeGen/CBackend/2002-08-19-DataPointer.ll
@@ -0,0 +1,4 @@
+; RUN: llvm-as < %s | llc -march=c
+
+@sptr1 = global [11 x i8]* @somestr ;; Forward ref to a constant
+@somestr = constant [11 x i8] c"hello world"