summaryrefslogtreecommitdiff
path: root/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-15 17:04:40 +0000
committerChris Lattner <sabre@nondot.org>2002-08-15 17:04:40 +0000
commit657882cf6e9be3d409fbcf773fb8eaa67180c4e3 (patch)
tree2225472c8b7c052068b56427f2e56f542db7fdb3 /test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
parent96ad1ec87626d66bf00ffd18954e6ce4b1aec26a (diff)
downloadllvm-657882cf6e9be3d409fbcf773fb8eaa67180c4e3.tar.gz
llvm-657882cf6e9be3d409fbcf773fb8eaa67180c4e3.tar.bz2
llvm-657882cf6e9be3d409fbcf773fb8eaa67180c4e3.tar.xz
There seem to be issues with constant exprs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2002-08-15-UnresolvedGlobalReference.ll')
-rw-r--r--test/Assembler/2002-08-15-UnresolvedGlobalReference.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll b/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
new file mode 100644
index 0000000000..e0140f5fc5
--- /dev/null
+++ b/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll
@@ -0,0 +1,8 @@
+%.LC0 = internal global [12 x sbyte] c"hello world\00" ; <[12 x sbyte]*> [#uses=1]
+
+implementation ; Functions:
+
+sbyte* %test() {
+ ret sbyte* getelementptr ([12 x sbyte]* %.LC0, uint 0, uint 0)
+}
+