aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/inline-dllexport-member.cpp
blob: 2160f32e0b4f4e4e08c4caa96d38a7632045651b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple i686-windows-win32 -fms-extensions -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: "\01?ui@s@@2IB", scope: ![[SCOPE]],
// CHECK-SAME:              variable: i32* @"\01?ui@s@@2IB"