1/* Verify that mergeable strings are used in the CU DIE. */ 2/* { dg-do compile } */ 3/* { dg-require-effective-target string_merging } */ 4/* { dg-options "-O2 -gdwarf-2 -dA" } */ 5/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" } } */ 6/* { dg-final { scan-assembler-not "GNU C\[^\\n\\r\]*DW_AT_producer" } } */ 7 8void func (void) 9{ 10} 11