aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Feature/globalvars.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Feature/globalvars.ll b/test/Feature/globalvars.ll
index b189dfc..3914efc 100644
--- a/test/Feature/globalvars.ll
+++ b/test/Feature/globalvars.ll
@@ -5,12 +5,14 @@
%AConst = constant int 123
+%AString = constant [4 x ubyte] c"test"
+
implementation
int "foo"(int %blah)
begin
store int 5, int *%MyVar
- store int 12, { \2 *, int } * %MyIntList, ubyte 1
- ret int %blah
+ store int 12, { \2 *, int } * %MyIntList, ubyte 1
+ ret int %blah
end