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

declare dllimport void @foo()

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