Bill Wendling | 795696a | 2008-08-24 21:48:46 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep mov | count 1 |
Bill Wendling | 795696a | 2008-08-24 21:48:46 +0000 | [diff] [blame] | 2 | |
3 | @f = external global void ()* ; <void ()**> [#uses=1] | ||||
4 | |||||
5 | define i32 @main() nounwind { | ||||
6 | entry: | ||||
7 | load void ()** @f, align 8 ; <void ()*>:0 [#uses=1] | ||||
8 | tail call void %0( ) nounwind | ||||
9 | ret i32 0 | ||||
10 | } |