diff options
Diffstat (limited to 'test/CodeGen/X86/dll-linkage.ll')
-rw-r--r-- | test/CodeGen/X86/dll-linkage.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/dll-linkage.ll b/test/CodeGen/X86/dll-linkage.ll new file mode 100644 index 0000000..b20e604 --- /dev/null +++ b/test/CodeGen/X86/dll-linkage.ll @@ -0,0 +1,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 +} |