]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenCXX/inline-dllexport-member.cpp
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / CodeGenCXX / inline-dllexport-member.cpp
1 // RUN: %clang_cc1 -triple i686-windows-gnu -fms-compatibility -g -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]+]] = !DICompileUnit(
9 // CHECK: !DIGlobalVariable(name: "ui", linkageName: "_ZN1s2uiE", scope: ![[SCOPE]],
10 // CHECK-SAME:              variable: i32* @_ZN1s2uiE
11