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

10 lines
177 B
LLVM

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