aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fold-call-2.ll
blob: fe060a7ea5a78483a66dc2f3bcd58f0a6d640a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep mov | count 1
; XFAIL: *

@f = external global void ()*		; <void ()**> [#uses=1]

define i32 @main() nounwind {
entry:
	load void ()** @f, align 8		; <void ()*>:0 [#uses=1]
	tail call void %0( ) nounwind
	ret i32 0
}