modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr23237.c (about) 1 /* Don't assemble, as this section syntax may not be valid on all platforms 2 (e.g., Darwin). */ 3 /* { dg-do compile } */ 4 5 /* { dg-require-effective-target named_sections } */ 6 7 static __attribute__ ((__section__ (".init.data"))) char *message; 8 static __attribute__ ((__section__ (".init.data"))) int (*actions[])(void) = {}; 9 void unpack_to_rootfs(void) 10 { 11 while (!message) 12 { 13 if(!actions[0]) 14 return; 15 } 16 }