[llvm-commits] [llvm] r75085 - /llvm/trunk/test/CodeGen/X86/dll-linkage.ll
Chris Lattner
sabre at nondot.org
Wed Jul 8 17:53:44 PDT 2009
Author: lattner
Date: Wed Jul 8 19:53:44 2009
New Revision: 75085
URL: http://llvm.org/viewvc/llvm-project?rev=75085&view=rev
Log:
we have no tests for dllimport/export. Add one.
Added:
llvm/trunk/test/CodeGen/X86/dll-linkage.ll
Added: llvm/trunk/test/CodeGen/X86/dll-linkage.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dll-linkage.ll?rev=75085&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/dll-linkage.ll (added)
+++ llvm/trunk/test/CodeGen/X86/dll-linkage.ll Wed Jul 8 19:53:44 2009
@@ -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
+}
More information about the llvm-commits
mailing list