mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
we have no tests for dllimport/export. Add one.
llvm-svn: 75085
This commit is contained in:
parent
a34904f9f8
commit
9aa10daa2d
9
test/CodeGen/X86/dll-linkage.ll
Normal file
9
test/CodeGen/X86/dll-linkage.ll
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user