1/* { dg-do compile } */ 2/* { dg-require-effective-target named_sections } */ 3/* { dg-final { scan-assembler "mysection" } } */ 4extern char foo; 5char foo __attribute__ ((__section__(".mysection"))); 6
1/* { dg-do compile } */ 2/* { dg-require-effective-target named_sections } */ 3/* { dg-final { scan-assembler "mysection" } } */ 4extern char foo; 5char foo __attribute__ ((__section__(".mysection"))); 6