aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/dllexport.ll
blob: 2c699bfb0db42764a409d2b08dd2b99962b0c6da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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