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
This commit is contained in:
Chris Lattner 2009-07-09 00:53:44 +00:00
parent 0a249a8ae5
commit f4a9774e2b

View File

@ -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
}