2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -triple i686-windows-gnu -fms-compatibility -debug-info-kind=limited -emit-llvm %s -o - \
|
2015-02-28 08:13:13 +08:00
|
|
|
// RUN: | FileCheck %s
|
|
|
|
|
|
|
|
struct __declspec(dllexport) s {
|
|
|
|
static const unsigned int ui = 0;
|
|
|
|
};
|
|
|
|
|
2015-07-01 02:32:50 +08:00
|
|
|
// CHECK: ![[SCOPE:[0-9]+]] = distinct !DICompileUnit(
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DIGlobalVariable(name: "ui", linkageName: "_ZN1s2uiE", scope: ![[SCOPE]],
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK-SAME: variable: i32* @_ZN1s2uiE
|
2015-02-28 08:13:13 +08:00
|
|
|
|