mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
10 lines
184 B
LLVM
10 lines
184 B
LLVM
|
; RUN: llvm-as < %s | llc -mtriple=i386-mingw-pc | FileCheck %s
|
||
|
|
||
|
declare dllimport void @foo()
|
||
|
|
||
|
define void @bar() nounwind {
|
||
|
; CHECK: call *__imp__foo
|
||
|
call void @foo()
|
||
|
ret void
|
||
|
}
|