aboutsummaryrefslogtreecommitdiffstats
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.ll5
1 files changed, 5 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 0000000..ca2af79
--- /dev/null
+++ b/test/CodeGen/CBackend/2002-08-19-DataPointer.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+
+%sptr1 = global [11x sbyte]* %somestr ;; Forward ref to a constant
+%somestr = constant [11x sbyte] c"hello world"
+