summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c
blob: cf0a2af6ced0123120e4d257a4a52f0cb39374e9 (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[10];

/* { 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 } } */