summaryrefslogtreecommitdiff
path: root/test/Linker/testlink2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r--test/Linker/testlink2.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index 4e5d7d560b..f119618a90 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -20,7 +20,8 @@ implementation
int "foo"(int %blah)
begin
store int %blah, int *%MyVar
- store int 12, { \2 *, int } * %MyIntList, uint 0, ubyte 1
+ %idx = getelementptr { \2 *, int } * %MyIntList, uint 0, ubyte 1
+ store int 12, int* %idx
%ack = load int * %0 ;; Load from the unnamed constant
%fzo = add int %ack, %blah