1define i32 @main() #0 {
2entry:
3  call void (...) @weakalias()
4  call void (...) @analias()
5  %call = call i32 (...) @referencestatics()
6  %call1 = call i32 (...) @referenceglobals()
7  %call2 = call i32 (...) @referencecommon()
8  call void (...) @setfuncptr()
9  call void (...) @callfuncptr()
10  call void (...) @callweakfunc()
11  ret i32 0
12}
13
14declare void @weakalias(...) #1
15
16declare void @analias(...) #1
17
18declare i32 @referencestatics(...) #1
19
20declare i32 @referenceglobals(...) #1
21
22declare i32 @referencecommon(...) #1
23
24declare void @setfuncptr(...) #1
25
26declare void @callfuncptr(...) #1
27
28declare void @callweakfunc(...) #1
29