| 1 |
// RUN: %clang_cc1 -triple x86_64-pc-win32 -debug-info-kind=limited -gcodeview %s -emit-llvm -o - | FileCheck %s |
| 2 |
|
| 3 |
typedef struct { |
| 4 |
} test1; |
| 5 |
|
| 6 |
test1 gv1; |
| 7 |
|
| 8 |
struct { |
| 9 |
} test2; |
| 10 |
void *use_test2 = &test2; |
| 11 |
|
| 12 |
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "<unnamed-type-test2>" |
| 13 |
|
| 14 |
typedef struct { |
| 15 |
} *test3; |
| 16 |
test3 gv3; |
| 17 |
void *use_test3 = &gv3; |
| 18 |
|
| 19 |
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "<unnamed-type-test3>" |
| 20 |
|
| 21 |
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "test1" |