mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
3574c2d849
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55296 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
277 B
LLVM
12 lines
277 B
LLVM
; 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
|
|
}
|