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