Simplify analyzer
[oota-llvm.git] / test / test2darray.ll
1 %somestr = [sbyte] c"hello world"
2 %somestr = [11x sbyte] c"hello world"
3
4 implementation
5  
6 [[2 x int]] "test function"(int %i0, int %j0)
7         %array = [[2 x int]] [
8                    [2 x int] [ int 12, int 52 ]
9                  ]
10 begin
11         ret [[2x int]] %array
12 end
13
14
15 [sbyte] "other func"(int, double)
16 begin
17         ret [sbyte] %somestr
18 end
19
20 [sbyte] "again"(float)
21 begin
22         %cast = cast [11x sbyte] %somestr to [sbyte]
23         ret [sbyte] %cast
24 end