llvm-6502/test/CodeGen/X86/dll-linkage.ll

10 lines
186 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -mtriple=i386-pc-mingw32 | FileCheck %s
declare dllimport void @foo()
define void @bar() nounwind {
; CHECK: call *__imp__foo
call void @foo()
ret void
}