summaryrefslogtreecommitdiff
path: root/test/teststruct.ll
blob: b9842199e3bd53fa349e883a9fca58c6f6f6dd32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%structty = type { int, int }

{ int, int } { int 4, int 3 }

implementation

[[2 x int]] "test function"(int %i0, int %j0)
        %array = [[2 x int]] [
                   [2 x int] [ int 12, int 52 ]
                 ]
begin
	ret [[2x int]] %array
end