1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/CodeGen/X86/dll-linkage.ll
2009-07-09 00:53:44 +00:00

10 lines
184 B
LLVM

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