1 // RUN: %clang_cc1 -emit-llvm -triple i686-windows-itanium -fdeclspec %s -o - | FileCheck %s
2 
3 struct __declspec(dllexport) s {
4   void f() {}
5 };
6 
7 // CHECK: define {{.*}} dllexport {{.*}} @_ZN1saSERKS_
8 // CHECK: define {{.*}} dllexport {{.*}} @_ZN1s1fEv
9 
10