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