projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0a249a8
)
we have no tests for dllimport/export. Add one.
author
Chris Lattner
<sabre@nondot.org>
Thu, 9 Jul 2009 00:53:44 +0000
(
00:53
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 9 Jul 2009 00:53:44 +0000
(
00:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75085
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/dll-linkage.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/dll-linkage.ll
b/test/CodeGen/X86/dll-linkage.ll
new file mode 100644
(file)
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
+}