blob: f3f917d0df30691a142bd0f68a91f705cdb244b9 [file] [log] [blame]
/* Don't assemble, as this section syntax may not be valid on all platforms
(e.g., Darwin). */
/* { dg-do compile } */
/* { dg-require-effective-target named_sections } */
static __attribute__ ((__section__ (".init.data"))) char *message;
static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {};
void unpack_to_rootfs(void)
{
while (!message)
{
if(!actions[0])
return;
}
}