blob: af9a5360674a094779d624056b5679edf9929489 [file] [log] [blame]
Saleem Abdulrasoolcd187f02015-02-28 00:13:13 +00001// RUN: %clang_cc1 -triple i686-windows-gnu -fms-compatibility -g -emit-llvm %s -o - \
2// RUN: | FileCheck %s
3
4struct __declspec(dllexport) s {
5 static const unsigned int ui = 0;
6};
7
Duncan P. N. Exon Smith9dd4e4e2015-04-29 16:40:08 +00008// CHECK: ![[SCOPE:[0-9]+]] = !DICompileUnit(
9// CHECK: !DIGlobalVariable(name: "ui", linkageName: "_ZN1s2uiE", scope: ![[SCOPE]],
Duncan P. N. Exon Smithf04be1f2015-03-03 17:25:55 +000010// CHECK-SAME: variable: i32* @_ZN1s2uiE
Saleem Abdulrasoolcd187f02015-02-28 00:13:13 +000011