summaryrefslogtreecommitdiff
path: root/test/Linker/testlink1.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-12-14 16:46:53 +0000
committerChris Lattner <sabre@nondot.org>2001-12-14 16:46:53 +0000
commitf493a569c3d79cbe148fd9fa69a139cdff066116 (patch)
tree900b48bf6f5567579df85d09c8d4f743d4fd2059 /test/Linker/testlink1.ll
parent48e9f40be0ef7522416520da5dfc1dc6a80b9423 (diff)
downloadllvm-f493a569c3d79cbe148fd9fa69a139cdff066116.tar.gz
llvm-f493a569c3d79cbe148fd9fa69a139cdff066116.tar.bz2
llvm-f493a569c3d79cbe148fd9fa69a139cdff066116.tar.xz
Update LLVM tests to use new pointer indexing, and remove unsized array test support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink1.ll')
-rw-r--r--test/Linker/testlink1.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll
index cf757f100e..12cf652d15 100644
--- a/test/Linker/testlink1.ll
+++ b/test/Linker/testlink1.ll
@@ -22,7 +22,7 @@ begin
%v1 = load int* %MyVar
call void %print(int %v1) ;; Should start out 4
- %v2 = load { \2 *, int }* %MyIntList, ubyte 1
+ %v2 = load { \2 *, int }* %MyIntList, uint 0, ubyte 1
call void %print(int %v2) ;; Should start out 17
call int %foo(int 5) ;; Modify global variablesx
@@ -30,7 +30,7 @@ begin
%v3 = load int* %MyVar
call void %print(int %v3) ;; Should now be 5
- %v4 = load { \2 *, int }* %MyIntList, ubyte 1
+ %v4 = load { \2 *, int }* %MyIntList, uint 0, ubyte 1
call void %print(int %v4) ;; Should start out 12
ret void