2015-10-08 14:31:22 +08:00
|
|
|
// RUN: %clang_cc1 -triple i686-windows-win32 -fms-extensions -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-10-08 14:31:22 +08:00
|
|
|
// CHECK: !DIGlobalVariable(name: "ui", linkageName: "\01?ui@s@@2IB", scope: ![[SCOPE]],
|
|
|
|
// CHECK-SAME: variable: i32* @"\01?ui@s@@2IB"
|
2015-02-28 08:13:13 +08:00
|
|
|
|