YouCompleteMe/cpp/llvm/test/CodeGen/X86/dllexport.ll

13 lines
203 B
LLVM
Raw Normal View History

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