summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/inline-dllexport-member.cpp
blob: fa78d0680019f111ce80e3e1da24824091c7d48a (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple i686-windows-gnu -fms-compatibility -debug-info-kind=limited -emit-llvm %s -o - \
// RUN:    | FileCheck %s

struct __declspec(dllexport) s {
  static const unsigned int ui = 0;
};

// CHECK: ![[SCOPE:[0-9]+]] = distinct !DICompileUnit(
// CHECK: !DIGlobalVariable(name: "ui", linkageName: "_ZN1s2uiE", scope: ![[SCOPE]],
// CHECK-SAME:              variable: i32* @_ZN1s2uiE