aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/testlink2.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-21 21:06:25 +0000
committerChris Lattner <sabre@nondot.org>2003-04-21 21:06:25 +0000
commit8869c2cb6a7f1f241e842d82f581dbea09b39eb5 (patch)
tree333574aaf847492f6a66cf7555987b620e6090a0 /test/Linker/testlink2.ll
parentd34a51dbbe84562e054811f70705f66177848096 (diff)
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r--test/Linker/testlink2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index f119618a90..210e847f6d 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -3,7 +3,7 @@
; RUN: echo
%MyVar = global int 4
-%MyIntList = uninitialized global { \2 *, int }
+%MyIntList = external global { \2 *, int }
%AConst = constant int 123
@@ -20,7 +20,7 @@ implementation
int "foo"(int %blah)
begin
store int %blah, int *%MyVar
- %idx = getelementptr { \2 *, int } * %MyIntList, uint 0, ubyte 1
+ %idx = getelementptr { \2 *, int } * %MyIntList, long 0, ubyte 1
store int 12, int* %idx
%ack = load int * %0 ;; Load from the unnamed constant