aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/globalvars.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/globalvars.ll')
-rw-r--r--test/Feature/globalvars.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Feature/globalvars.ll b/test/Feature/globalvars.ll
index b243ba5..a01c20b 100644
--- a/test/Feature/globalvars.ll
+++ b/test/Feature/globalvars.ll
@@ -12,7 +12,8 @@ implementation
int "foo"(int %blah)
begin
store int 5, 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
ret int %blah
end