From: Chris Lattner Date: Thu, 9 Jul 2009 00:53:44 +0000 (+0000) Subject: we have no tests for dllimport/export. Add one. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f4a9774e2b2a6279a83d9f7d78a4abfafc2fd3fd;p=oota-llvm.git we have no tests for dllimport/export. Add one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75085 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/dll-linkage.ll b/test/CodeGen/X86/dll-linkage.ll new file mode 100644 index 00000000000..b20e60460c3 --- /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 +}