b20e60460c31d05721b65f331b8210159728e779
[oota-llvm.git] / test / CodeGen / X86 / dll-linkage.ll
1 ; RUN: llvm-as < %s | llc -mtriple=i386-mingw-pc | FileCheck %s
2
3 declare dllimport void @foo()
4
5 define void @bar() nounwind {
6 ; CHECK: call   *__imp__foo
7   call void @foo()
8   ret void
9 }