summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr25376.c
blob: 3008b091dc2835413febd720bcc54fbd62044934 (plain)
1
2
3
4
5
6
7
8
9
/* PR25376.  Verify that a named section is honored.  */
/* { dg-require-named-sections "" } */

void simple (void) __attribute__((section("my_named_section")));
void simple (void)
{
}

/* { dg-final { scan-assembler "my_named_section" } } */