blob: f3f917d0df30691a142bd0f68a91f705cdb244b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* 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;
}
}
|