llvm-6502/test/CodeGen/X86/dllexport.ll
2010-02-12 15:29:13 +00:00

12 lines
199 B
LLVM

; RUN: llc < %s | FileCheck %s
; PR2936
target triple = "i386-mingw32"
define dllexport x86_fastcallcc i32 @foo() nounwind {
entry:
ret i32 0
}
; CHECK: .section .drectve
; CHECK: -export:@foo@0