mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
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:
parent
0a249a8ae5
commit
f4a9774e2b
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