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

Tree @release_26 (Download .tar.gz)

dll-linkage.ll @release_26raw · history · blame

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