1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin PR debug/41170
3 // { dg-options "-g -dA" }
5 // We want to test that there is a DW_TAG_namespace DIE DW_AT_name is set
6 // to "not_emitted". That namespace die has a child DW_TAG_typedef DIE
7 // which DW_AT_name is the null terminated string "T".
8 // { dg-final { scan-assembler-times "DIE +\\(.*?\\) DW_TAG_namespace" 1 } }
9 // { dg-final { scan-assembler-times "DW_AT_name: \"not_emitted\"" 1 } }
10 // { dg-final { scan-assembler-times "DIE +\\(.*?\\) DW_TAG_typedef" 1 } }
11 // { dg-final { scan-assembler-times "\.ascii \"T.0\"\[\t \]+.*?DW_AT_name" 1 } }