mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
ab6c3bb44d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55338 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
266 B
LLVM
11 lines
266 B
LLVM
; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep mov | count 1
|
|
|
|
@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
|
|
}
|