blob: 1465670913beb5ef7e1a3836259ee952cca7bb49 [file] [log] [blame]
Chris Lattner00950542001-06-06 20:29:01 +00001 %myty = type int
2 %myfn = type float (int,double,uint,short)
3 type int(%myfn)
4 type int(int)
5 type int(int(int))
6implementation
7
8; This function always returns zero
9int "zarro"(int %Func)
10 %q = uint 4000000000
11 %p = int 0
12begin
13Startup:
14 add int %p, 10
15 ret int %p
16end
17
18int "test"(int)
19 %thisfuncty = type int (int)
20begin
21 add %thisfuncty %zarro, %test
22 add %thisfuncty %test, %foozball
23 ret int 0
24end
25
26int "foozball"(int)
27begin
28 ret int 0
29end
30