summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-merge.c
blob: 767d38b173b1a2c13ef525523d5424bb71398975 (plain)
1
2
3
4
5
6
7
8
9
10
/* Verify that mergeable strings are used in the CU DIE.  */
/* { dg-do compile } */
/* { dg-require-effective-target string_merging } */
/* { dg-options "-O2 -gdwarf-2 -dA" } */
/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" } } */
/* { dg-final { scan-assembler-not "GNU C\[^\\n\\r\]*DW_AT_producer" } } */

void func (void)
{
}