summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c
blob: dfbfa2fed1d197fe4915c62d400725b9906894fd (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-save-temps -gdwarf -dA" } */

typedef const struct _Harry { int dummy; } Harry_t;
Harry_t harry;

/* { dg-final { scan-assembler "DW_TAG_typedef\[^\\r\\n\]*\[\\r\\n\]+\[^\\r\\n\]*(DW_AT_name: \"Harry_t\"|\"Harry_t..\"\[^\\r\\n\]*DW_AT_name)" } } */
/* { dg-final { cleanup-saved-temps } } */