aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/inline-dllexport-member.cpp
blob: af9a5360674a094779d624056b5679edf9929489 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple i686-windows-gnu -fms-compatibility -g -emit-llvm %s -o - \
// RUN:    | FileCheck %s

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

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