Eliminate usage of function level constant pool
[oota-llvm.git] / test / Feature / forwardreftest.ll
1   %myty = type int 
2   %myfn = type float (int,double,uint,short)
3   type int(%myfn)
4   type int(int)
5   type int(int(int))
6
7   %thisfuncty = type int (int) *
8 implementation
9
10 ; This function always returns zero
11 int "zarro"(int %Func)
12 begin
13 Startup:
14     add int 0, 10
15     ret int 0 
16 end
17
18 int "test"(int) 
19 begin
20     add %thisfuncty %zarro, %test
21     add %thisfuncty %test, %foozball
22     ret int 0
23 end
24
25 int "foozball"(int)
26 begin
27     ret int 0
28 end
29