`extern` block code gen