llvm/test/CodeGen/X86/dll-linkage.ll
2009-09-08 23:54:48 +00:00

10 lines
176 B
LLVM

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