1 // RUN: %clang_cc1 -triple i686-windows-win32 -fms-extensions -debug-info-kind=limited -emit-llvm %s -o - \
2 // RUN:    | FileCheck %s
3 
4 struct __declspec(dllexport) s {
5   static const unsigned int ui = 0;
6 };
7 
8 // CHECK: ![[SCOPE:[0-9]+]] = distinct !DICompileUnit(
9 // CHECK: !DIGlobalVariable(name: "ui", linkageName: "\01?ui@s@@2IB", scope: ![[SCOPE]],
10 // CHECK-SAME:              variable: i32* @"\01?ui@s@@2IB"
11 
12