__attribute__ ((section (".nocrossrefs")))
static void
foo ()
{
}

void (*dummy) () = foo;


syntax highlighted by Code2HTML, v. 0.9.1