Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple i686-windows-gnu -fms-compatibility -debug-info-kind=limited -emit-llvm %s -o - \ |
Saleem Abdulrasool | cd187f0 | 2015-02-28 00:13:13 +0000 | [diff] [blame] | 2 | // RUN: | FileCheck %s |
| 3 | |
| 4 | struct __declspec(dllexport) s { |
| 5 | static const unsigned int ui = 0; |
| 6 | }; |
| 7 | |
Adrian Prantl | 324c03f | 2015-06-30 18:32:50 +0000 | [diff] [blame] | 8 | // CHECK: ![[SCOPE:[0-9]+]] = distinct !DICompileUnit( |
Duncan P. N. Exon Smith | 9dd4e4e | 2015-04-29 16:40:08 +0000 | [diff] [blame] | 9 | // CHECK: !DIGlobalVariable(name: "ui", linkageName: "_ZN1s2uiE", scope: ![[SCOPE]], |
Duncan P. N. Exon Smith | f04be1f | 2015-03-03 17:25:55 +0000 | [diff] [blame] | 10 | // CHECK-SAME: variable: i32* @_ZN1s2uiE |
Saleem Abdulrasool | cd187f0 | 2015-02-28 00:13:13 +0000 | [diff] [blame] | 11 | |