aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/testlink2.ll
blob: 445749a347e1ebd89bbd4dba5536ffbd3d365ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%MyVar     = global int 4
%MyIntList = uninitialized global { \2 *, int }

%AConst    = constant int 123

implementation

int "foo"(int %blah)
begin
	store int %blah, int *%MyVar
	store int 12, { \2 *, int } * %MyIntList, ubyte 1
	ret int %blah
end