aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/dll-linkage.ll
blob: a6b3073e414637684614e087a49e0ab11aba5539 (plain)
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
}