b243ba58d8ca61e53c89247644ed8dc1929d1d96
[oota-llvm.git] / test / Feature / globalvars.ll
1
2 %MyVar     = uninitialized global int
3 %MyIntList = uninitialized global { \2 *, int }
4              uninitialized global int      ; int*:0
5
6 %AConst    = constant int 123
7
8 %AString   = constant [4 x ubyte] c"test"
9
10 implementation
11
12 int "foo"(int %blah)
13 begin
14         store int 5, int *%MyVar
15         store int 12, { \2 *, int } * %MyIntList, uint 0, ubyte 1
16         ret int %blah
17 end
18