llvm-6502/test/Feature/globalvars.ll
2001-09-18 04:38:50 +00:00

17 lines
311 B
LLVM

%MyVar = uninitialized global int
%MyIntList = uninitialized global { \2 *, int }
uninitialized global int ; int*:0
%AConst = constant int 123
implementation
int "foo"(int %blah)
begin
store int 5, int *%MyVar
store int 12, { \2 *, int } * %MyIntList, ubyte 1
ret int %blah
end