aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/dll-linkage.ll
blob: 14290f864c2b1d63c69e8d25fd766976e0f10521 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -mtriple=i386-mingw32-pc | FileCheck %s

declare dllimport void @foo()

define void @bar() nounwind {
; CHECK: call	*__imp__foo
  call void @foo()
  ret void
}