Home | History | Annotate | Download | only in CodeGenCXX
      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 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "test1"
      8 
      9 struct {
     10 } test2;
     11 void *use_test2 = &test2;
     12 
     13 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "<unnamed-type-test2>"
     14 
     15 typedef struct {
     16 } *test3;
     17 test3 gv3;
     18 void *use_test3 = &gv3;
     19 
     20 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "<unnamed-type-test3>"
     21