llvm.org GIT mirror llvm / release_27 test / CodeGen / X86 / dll-linkage.ll
release_27

Tree @release_27 (Download .tar.gz)

dll-linkage.ll @release_27raw · history · blame

1
2
3
4
5
6
7
8
9
; 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
}