blob: ce5636c1727101e075dd509f8e546e7ce62605a0 [file] [log] [blame]
Hans Wennborgb0f2f142014-05-15 22:07:49 +00001// RUN: %clang_cc1 -triple i686-pc-win32 -std=c99 -O2 -disable-llvm-optzns -emit-llvm < %s | FileCheck %s
2
3#define DLLEXPORT __declspec(dllexport)
4
5inline void DLLEXPORT f() {}
6extern void DLLEXPORT f();
7
8// CHECK: define weak_odr dllexport void @f()