summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c
blob: 13856d7aa0d179296cd2b783371c98eb304d8ba5 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-save-temps -g -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 } } */