Teresa Johnson | c7ed52f | 2015-11-03 00:14:15 +0000 | [diff] [blame] | 1 | define i32 @main() #0 { |
| 2 | entry: |
| 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 | |
| 14 | declare void @weakalias(...) #1 |
| 15 | |
| 16 | declare void @analias(...) #1 |
| 17 | |
| 18 | declare i32 @referencestatics(...) #1 |
| 19 | |
| 20 | declare i32 @referenceglobals(...) #1 |
| 21 | |
| 22 | declare i32 @referencecommon(...) #1 |
| 23 | |
| 24 | declare void @setfuncptr(...) #1 |
| 25 | |
| 26 | declare void @callfuncptr(...) #1 |
| 27 | |
| 28 | declare void @callweakfunc(...) #1 |